mirror of https://github.com/GNOME/gimp.git
Changed the Delete layer button to be on the right edge. For consistency
I will do this to all the notebook tabs, probably later today. /Tigert
This commit is contained in:
parent
81124dce15
commit
7404ec7c48
|
@ -1,3 +1,12 @@
|
|||
1999-06-21 Tuomas Kuosmanen <tigert@gimp.org>
|
||||
|
||||
* app/layers_dialog.c: Changed the order of the layer ops buttons
|
||||
so that the delete button is on the right. Theoretically this should
|
||||
not break anything. :)
|
||||
|
||||
I will do the same to the channels and paths too, just when I get
|
||||
time, which is probably later today.
|
||||
|
||||
1999-06-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* libgimp/gimpfeatures.h.win32: Update version.
|
||||
|
|
|
@ -250,10 +250,10 @@ static OpsButton layers_ops_buttons[] =
|
|||
"<Shift> To Bottom"), NULL, 0 },
|
||||
{ duplicate_xpm, layers_dialog_duplicate_layer_callback, NULL,
|
||||
N_("Duplicate Layer"), NULL, 0 },
|
||||
{ delete_xpm, layers_dialog_delete_layer_callback, NULL,
|
||||
N_("Delete Layer"), NULL, 0 },
|
||||
{ anchor_xpm, layers_dialog_anchor_layer_callback, NULL,
|
||||
N_("Anchor Layer"), NULL, 0 },
|
||||
{ delete_xpm, layers_dialog_delete_layer_callback, NULL,
|
||||
N_("Delete Layer"), NULL, 0 },
|
||||
{ NULL, NULL, NULL, NULL, NULL, 0 }
|
||||
};
|
||||
|
||||
|
@ -953,13 +953,13 @@ layers_dialog_set_menu_sensitivity ()
|
|||
gtk_widget_set_sensitive (layers_ops_buttons[3].widget,
|
||||
fs && ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Delete Layer"), ac && gimage && lp);
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[4].widget, ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Anchor Layer"), !fs && ac && gimage && lp);
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[5].widget,
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[4].widget,
|
||||
!fs && ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Delete Layer"), ac && gimage && lp);
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[5].widget, ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Scale Layer"), ac && gimage && lp);
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Resize Layer"), ac && gimage && lp);
|
||||
|
||||
|
|
|
@ -250,10 +250,10 @@ static OpsButton layers_ops_buttons[] =
|
|||
"<Shift> To Bottom"), NULL, 0 },
|
||||
{ duplicate_xpm, layers_dialog_duplicate_layer_callback, NULL,
|
||||
N_("Duplicate Layer"), NULL, 0 },
|
||||
{ delete_xpm, layers_dialog_delete_layer_callback, NULL,
|
||||
N_("Delete Layer"), NULL, 0 },
|
||||
{ anchor_xpm, layers_dialog_anchor_layer_callback, NULL,
|
||||
N_("Anchor Layer"), NULL, 0 },
|
||||
{ delete_xpm, layers_dialog_delete_layer_callback, NULL,
|
||||
N_("Delete Layer"), NULL, 0 },
|
||||
{ NULL, NULL, NULL, NULL, NULL, 0 }
|
||||
};
|
||||
|
||||
|
@ -953,13 +953,13 @@ layers_dialog_set_menu_sensitivity ()
|
|||
gtk_widget_set_sensitive (layers_ops_buttons[3].widget,
|
||||
fs && ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Delete Layer"), ac && gimage && lp);
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[4].widget, ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Anchor Layer"), !fs && ac && gimage && lp);
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[5].widget,
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[4].widget,
|
||||
!fs && ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Delete Layer"), ac && gimage && lp);
|
||||
gtk_widget_set_sensitive (layers_ops_buttons[5].widget, ac && gimage && lp);
|
||||
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Scale Layer"), ac && gimage && lp);
|
||||
menus_set_sensitive_locale ("<Layers>", N_("/Resize Layer"), ac && gimage && lp);
|
||||
|
||||
|
|
Loading…
Reference in New Issue