From: dooglus Date: Fri, 28 Nov 2008 18:59:40 +0000 (+0000) Subject: Fix 1501383: "del key deletes object instead of character". Changed the LayerRemove... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=79d7fc72cd298f807de13cad02bb96c622fe89de;p=synfig.git Fix 1501383: "del key deletes object instead of character". Changed the LayerRemove shortcut from Delete to CTRL-Delete. CTRL-x also works. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2303 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 72eee2d..d223442 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -1058,7 +1058,7 @@ init_ui_manager() ACCEL("0", "//quality-10" ); ACCEL("z", "//undo" ); ACCEL("r", "//redo" ); - ACCEL("Delete", "//action-LayerRemove" ); + ACCEL2(Gtk::AccelKey(GDK_Delete,Gdk::CONTROL_MASK, "//action-LayerRemove" )); ACCEL2(Gtk::AccelKey('(',Gdk::CONTROL_MASK, "//decrease-low-res-pixel-size" )); ACCEL2(Gtk::AccelKey(')',Gdk::CONTROL_MASK, "//increase-low-res-pixel-size" )); ACCEL2(Gtk::AccelKey('(',Gdk::MOD1_MASK|Gdk::CONTROL_MASK, "//amount-dec" ));