Skip to content

Commit 227e295

Browse files
committed
nemo-view.c: Remove 'open-file-and-close-window' action.
The keybinding was not listed in our keyboard shortcuts window. Fixes #3744
1 parent 0ba73e5 commit 227e295

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

gresources/nemo-directory-view-ui.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<ui>
22
<accelerator action="OpenAccel"/>
3-
<accelerator action="OpenCloseParent"/>
43
<accelerator action="PropertiesAccel"/>
54
<accelerator action="RenameSelectAll"/>
65
<menubar name="MenuBar">

src/nemo-view.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,24 +1273,6 @@ action_open_callback (GtkAction *action,
12731273
nemo_file_list_free (selection);
12741274
}
12751275

1276-
static void
1277-
action_open_close_parent_callback (GtkAction *action,
1278-
gpointer callback_data)
1279-
{
1280-
GList *selection;
1281-
NemoView *view;
1282-
1283-
view = NEMO_VIEW (callback_data);
1284-
1285-
selection = nemo_view_get_selection (view);
1286-
nemo_view_activate_files (view,
1287-
selection,
1288-
NEMO_WINDOW_OPEN_FLAG_CLOSE_BEHIND,
1289-
TRUE);
1290-
nemo_file_list_free (selection);
1291-
}
1292-
1293-
12941276
static void
12951277
action_open_alternate_callback (GtkAction *action,
12961278
gpointer callback_data)
@@ -8404,10 +8386,6 @@ static const GtkActionEntry directory_view_entries[] = {
84048386
/* label, accelerator */ N_("_Detect Media"), NULL,
84058387
/* tooltip */ N_("Detect media in the selected drive"),
84068388
G_CALLBACK (action_self_detect_media_callback) },
8407-
/* name, stock id */ { "OpenCloseParent", NULL,
8408-
/* label, accelerator */ N_("Open File and Close window"), "<alt><shift>Down",
8409-
/* tooltip */ NULL,
8410-
G_CALLBACK (action_open_close_parent_callback) },
84118389
/* Location-specific actions */
84128390
/* name, stock id */ { NEMO_ACTION_LOCATION_OPEN_ALTERNATE, NULL,
84138391
/* label, accelerator */ N_("Open in Navigation Window"), "",

0 commit comments

Comments
 (0)