[nautilus/wip/gaction_reordered: 29/37] nautilus-view: Drop close parent
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gaction_reordered: 29/37] nautilus-view: Drop close parent
- Date: Fri, 9 Jan 2015 14:06:02 +0000 (UTC)
commit 97c44e7f6884cf0cea05999673fd7e76db9c4ccb
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 4524a6e..b50dc7b 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -997,23 +997,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)
{
@@ -6925,11 +6908,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]