From 79d7fc72cd298f807de13cad02bb96c622fe89de Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 28 Nov 2008 18:59:40 +0000 Subject: [PATCH] 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 --- synfig-studio/trunk/src/gtkmm/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" )); -- 2.7.4