Skip to content

Commit ad10fda

Browse files
mtwebstersmpl-os
authored andcommitted
nemo-view.c: Remove 'open-file-and-close-window' action.
The keybinding was not listed in our keyboard shortcuts window. Fixes linuxmint#3744
1 parent c97ba07 commit ad10fda

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
@@ -1274,24 +1274,6 @@ action_open_callback (GtkAction *action,
12741274
nemo_file_list_free (selection);
12751275
}
12761276

1277-
static void
1278-
action_open_close_parent_callback (GtkAction *action,
1279-
gpointer callback_data)
1280-
{
1281-
GList *selection;
1282-
NemoView *view;
1283-
1284-
view = NEMO_VIEW (callback_data);
1285-
1286-
selection = nemo_view_get_selection (view);
1287-
nemo_view_activate_files (view,
1288-
selection,
1289-
NEMO_WINDOW_OPEN_FLAG_CLOSE_BEHIND,
1290-
TRUE);
1291-
nemo_file_list_free (selection);
1292-
}
1293-
1294-
12951277
static void
12961278
action_open_alternate_callback (GtkAction *action,
12971279
gpointer callback_data)
@@ -8536,10 +8518,6 @@ static const GtkActionEntry directory_view_entries[] = {
85368518
/* label, accelerator */ N_("_Detect Media"), NULL,
85378519
/* tooltip */ N_("Detect media in the selected drive"),
85388520
G_CALLBACK (action_self_detect_media_callback) },
8539-
/* name, stock id */ { "OpenCloseParent", NULL,
8540-
/* label, accelerator */ N_("Open File and Close window"), "<alt><shift>Down",
8541-
/* tooltip */ NULL,
8542-
G_CALLBACK (action_open_close_parent_callback) },
85438521
/* Location-specific actions */
85448522
/* name, stock id */ { NEMO_ACTION_LOCATION_OPEN_ALTERNATE, NULL,
85458523
/* label, accelerator */ N_("Open in Navigation Window"), "",

0 commit comments

Comments
 (0)