From ef3ecefd54b1d37920fcbc256b82c7d9050fb9a2 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 18 Oct 2003 17:27:11 +0000 Subject: [PATCH] changed the "Anti Erase" toggle key from to because 2003-10-18 Michael Natterer * app/tools/gimperasertool.c (gimp_eraser_options_gui): changed the "Anti Erase" toggle key from to because and are used by straight_line mode and should behave consistently across all paint tools. --- ChangeLog | 9 ++++++++- app/tools/gimperasertool.c | 5 ++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cef83c6eca..326ac575e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-10-18 Michael Natterer + + * app/tools/gimperasertool.c (gimp_eraser_options_gui): changed + the "Anti Erase" toggle key from to because + and are used by straight_line mode and should + behave consistently across all paint tools. + 2003-10-18 Michael Natterer * app/widgets/gimpitemtreeview.c @@ -13,7 +20,7 @@ * app/widgets/gimpcoloreditor.c * app/widgets/gimpdataeditor.c - * app/widgets/gimppaletteeditor.c. addef #defines for aux-info + * app/widgets/gimppaletteeditor.c. added #defines for aux-info identifiers here, too. 2003-10-18 Sven Neumann diff --git a/app/tools/gimperasertool.c b/app/tools/gimperasertool.c index 70a55ffb3e..9ab431a0d6 100644 --- a/app/tools/gimperasertool.c +++ b/app/tools/gimperasertool.c @@ -140,8 +140,7 @@ gimp_eraser_tool_modifier_key (GimpTool *tool, GdkModifierType state, GimpDisplay *gdisp) { - if ((key == GDK_CONTROL_MASK) && - ! (state & GDK_SHIFT_MASK)) /* leave stuff untouched in line draw mode */ + if (key == GDK_MOD1_MASK) { GimpEraserOptions *options; @@ -186,7 +185,7 @@ gimp_eraser_options_gui (GimpToolOptions *tool_options) vbox = gimp_paint_options_gui (tool_options); /* the anti_erase toggle */ - str = g_strdup_printf (_("Anti Erase %s"), gimp_get_mod_name_control ()); + str = g_strdup_printf (_("Anti Erase %s"), gimp_get_mod_name_alt ()); button = gimp_prop_check_button_new (config, "anti-erase", str); gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);