mirror of https://github.com/GNOME/gimp.git
changed the "Anti Erase" toggle key from <control> to <alt> because
2003-10-18 Michael Natterer <mitch@gimp.org> * app/tools/gimperasertool.c (gimp_eraser_options_gui): changed the "Anti Erase" toggle key from <control> to <alt> because <shift> and <control> are used by straight_line mode and should behave consistently across all paint tools.
This commit is contained in:
parent
2e9f3fb92c
commit
ef3ecefd54
|
@ -1,3 +1,10 @@
|
|||
2003-10-18 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimperasertool.c (gimp_eraser_options_gui): changed
|
||||
the "Anti Erase" toggle key from <control> to <alt> because
|
||||
<shift> and <control> are used by straight_line mode and should
|
||||
behave consistently across all paint tools.
|
||||
|
||||
2003-10-18 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* 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 <sven@gimp.org>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue