moved the first hint label to a line of its own. fixes bug #127673.

2004-01-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.[ch]: moved the first hint label
	to a line of its own. fixes bug #127673.
This commit is contained in:
Michael Natterer 2004-01-19 00:06:18 +00:00 committed by Michael Natterer
parent 2eafd75021
commit bb833af33f
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2004-01-19 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpgradienteditor.[ch]: moved the first hint label
to a line of its own. fixes bug #127673.
2004-01-19 Sven Neumann <sven@gimp.org>
* app/tools/gimplevelstool.[ch]: code cleanup; draw in the

View File

@ -359,11 +359,6 @@ gimp_gradient_editor_init (GimpGradientEditor *editor)
gtk_box_pack_start (GTK_BOX (editor), editor->scrollbar, FALSE, FALSE, 0);
gtk_widget_show (editor->scrollbar);
/* Horizontal box for zoom controls and instant update toggle */
hbox = gtk_hbox_new (FALSE, 4);
gtk_box_pack_start (GTK_BOX (editor), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
/* +, - and Zoom Fit buttons */
gimp_editor_add_button (GIMP_EDITOR (editor),
GTK_STOCK_ZOOM_OUT, _("Zoom Out"),
@ -387,6 +382,10 @@ gimp_gradient_editor_init (GimpGradientEditor *editor)
/* Instant update toggle */
editor->instant_update = TRUE;
hbox = gtk_hbox_new (FALSE, 4);
gtk_box_pack_start (GTK_BOX (editor), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
button = gtk_check_button_new_with_label (_("Instant update"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
editor->instant_update);
@ -400,7 +399,7 @@ gimp_gradient_editor_init (GimpGradientEditor *editor)
/* Hint bar */
editor->hint_label1 = gtk_label_new ("");
gtk_misc_set_alignment (GTK_MISC (editor->hint_label1), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (hbox), editor->hint_label1, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (editor), editor->hint_label1, FALSE, FALSE, 0);
gtk_widget_show (editor->hint_label1);
editor->hint_label2 = gtk_label_new ("");