hide the popup's plus and minus buttons, they are completely pointless.
2008-06-26 Michael Natterer <mitch@gimp.org> * app/widgets/gimpscalebutton.c (gimp_scale_button_init): hide the popup's plus and minus buttons, they are completely pointless. svn path=/trunk/; revision=25993
This commit is contained in:

committed by
Michael Natterer

parent
029849b7bd
commit
e1fa7e31fe
@ -1,3 +1,8 @@
|
||||
2008-06-26 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpscalebutton.c (gimp_scale_button_init): hide the
|
||||
popup's plus and minus buttons, they are completely pointless.
|
||||
|
||||
2008-06-25 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpsettingsbox.c: make sure the file dialog goes
|
||||
|
@ -54,6 +54,12 @@ gimp_scale_button_init (GimpScaleButton *button)
|
||||
{
|
||||
GtkWidget *image = gtk_bin_get_child (GTK_BIN (button));
|
||||
|
||||
gtk_widget_hide (GTK_SCALE_BUTTON (button)->plus_button);
|
||||
gtk_widget_set_no_show_all (GTK_SCALE_BUTTON (button)->plus_button, TRUE);
|
||||
|
||||
gtk_widget_hide (GTK_SCALE_BUTTON (button)->minus_button);
|
||||
gtk_widget_set_no_show_all (GTK_SCALE_BUTTON (button)->minus_button, TRUE);
|
||||
|
||||
g_signal_connect (image, "expose-event",
|
||||
G_CALLBACK (gimp_scale_button_image_expose),
|
||||
button);
|
||||
|
Reference in New Issue
Block a user