[nautilus/gnome-2-32: 11/283] Don't use Backspace to delete bookmarks.



commit e68c7d1154cb962cc83af17013b68a69a6e03667
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 86c412e..f520d01 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -2183,8 +2183,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]