[nautilus/wip/gaction_reordered: 5/12] nautilus-view: Drop close parent



commit 94ae431357df835ef237837e757a57a0808b26a2
Author: Carlos Soriano <carlos sorian89 gmail com>
Date:   Mon Jan 5 11:42:21 2015 +0100

    nautilus-view: Drop close parent

 src/nautilus-directory-view-ui.xml |    1 -
 src/nautilus-view.c                |   22 ----------------------
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/src/nautilus-directory-view-ui.xml b/src/nautilus-directory-view-ui.xml
index d375b3a..80f329b 100644
--- a/src/nautilus-directory-view-ui.xml
+++ b/src/nautilus-directory-view-ui.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <ui>
 <accelerator action="OpenAccel"/>
-<accelerator action="OpenCloseParent"/>
 <accelerator action="PropertiesAccel"/>
 <accelerator action="RenameSelectAll"/>
 <popup name="ViewMenu" accelerators="true">
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index c5d1836..7f03e9c 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -996,23 +996,6 @@ action_open_callback (GtkAction *action,
 }
 
 static void
-action_open_close_parent_callback (GtkAction *action,
-                                  gpointer callback_data)
-{
-       GList *selection;
-       NautilusView *view;
-
-       view = NAUTILUS_VIEW (callback_data);
-
-       selection = nautilus_view_get_selection (view);
-       nautilus_view_activate_files (view,
-                                     selection,
-                                     NAUTILUS_WINDOW_OPEN_FLAG_CLOSE_BEHIND,
-                                     TRUE);
-       nautilus_file_list_free (selection);
-}
-
-static void
 action_open_item_location_callback (GtkAction *action,
                                    gpointer callback_data)
 {
@@ -6924,11 +6907,6 @@ static const GtkActionEntry directory_view_entries[] = {
   /* label, accelerator */       N_("_Detect Media"), NULL,
   /* tooltip */                  N_("Detect media in the selected drive"),
                                 G_CALLBACK (action_self_detect_media_callback) },
-  /* name, stock id */         { "OpenCloseParent", NULL,
-  /* label, accelerator */       N_("Open File and Close window"), "<alt><shift>Down",
-  /* tooltip */                  NULL,
-                                G_CALLBACK (action_open_close_parent_callback) },
-
   /* Location-specific actions */
   /* name, stock id */         { NAUTILUS_ACTION_LOCATION_OPEN_ALTERNATE, NULL,
   /* label, accelerator */       N_("Open in Navigation Window"), NULL,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]