[nautilus] Don't use Backspace to delete bookmarks.



commit ce66d5d2bf1b3c028f08d1f3ed3fa6d4c7c633f1
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Apr 12 20:09:03 2010 +0200

    Don't use Backspace to delete bookmarks.
    
    In the places sidebar, don't assign Backspace to deleting bookmarks, as
    that's confusing (and we already have Delete for it). Fix bug #340934.

 src/nautilus-places-sidebar.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index 474aad0..1683891 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -2180,8 +2180,7 @@ bookmarks_key_press_event_cb (GtkWidget             *widget,
       return eject_or_unmount_selection (sidebar);
   }
 
-  if ((event->keyval == GDK_BackSpace
-      || event->keyval == GDK_Delete
+  if ((event->keyval == GDK_Delete
       || event->keyval == GDK_KP_Delete)
       && (event->state & modifiers) == 0) {
       remove_selected_bookmarks (sidebar);



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