Fix 1501383: "del key deletes object instead of character". Changed the LayerRemove...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Nov 2008 18:59:40 +0000 (18:59 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Nov 2008 18:59:40 +0000 (18:59 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2303 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp

index 72eee2d..d223442 100644 (file)
@@ -1058,7 +1058,7 @@ init_ui_manager()
        ACCEL("<Control>0",                                                                                                     "<Actions>//quality-10"                                         );
        ACCEL("<Control>z",                                                                                                     "<Actions>//undo"                                                       );
        ACCEL("<Control>r",                                                                                                     "<Actions>//redo"                                                       );
-       ACCEL("Delete",                                                                                                         "<Actions>//action-LayerRemove"                         );
+       ACCEL2(Gtk::AccelKey(GDK_Delete,Gdk::CONTROL_MASK,                                      "<Actions>//action-LayerRemove"                         ));
        ACCEL2(Gtk::AccelKey('(',Gdk::CONTROL_MASK,                                                     "<Actions>//decrease-low-res-pixel-size"        ));
        ACCEL2(Gtk::AccelKey(')',Gdk::CONTROL_MASK,                                                     "<Actions>//increase-low-res-pixel-size"        ));
        ACCEL2(Gtk::AccelKey('(',Gdk::MOD1_MASK|Gdk::CONTROL_MASK,                      "<Actions>//amount-dec"                                         ));