Skip to content

Commit 2e3c6fc

Browse files
committed
nemo-places-sidebar.c: Remove delete key action for removing
bookmarks. Deleting bookmarks from the sidebar should require more deliberation than just a keyboard shortcut, and it's not always obvious that the sidebar is focused and *not* the main directory view, where this shortcut is more useful. Fixes #3504.
1 parent 5e8ff02 commit 2e3c6fc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/nemo-places-sidebar.c

-7
Original file line numberDiff line numberDiff line change
@@ -3329,13 +3329,6 @@ bookmarks_key_press_event_cb (GtkWidget *widget,
33293329
return TRUE;
33303330
}
33313331

3332-
if ((event->keyval == GDK_KEY_Delete
3333-
|| event->keyval == GDK_KEY_KP_Delete)
3334-
&& (event->state & modifiers) == 0) {
3335-
remove_selected_bookmarks (sidebar);
3336-
return TRUE;
3337-
}
3338-
33393332
if ((event->keyval == GDK_KEY_F2)
33403333
&& (event->state & modifiers) == 0) {
33413334
rename_selected_bookmark (sidebar);

0 commit comments

Comments
 (0)