minor cleanup.

2006-12-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpunitmenu.c: minor cleanup.
This commit is contained in:
Sven Neumann
2006-12-28 19:04:42 +00:00
committed by Sven Neumann
parent 7bb24cd55b
commit 5a56ca0795
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-12-28 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpunitmenu.c: minor cleanup.
2006-12-28 Sven Neumann <sven@gimp.org>
* print-draw-page.c: fill rectangles instead of masking the spans.

View File

@ -263,8 +263,7 @@ gimp_unit_menu_new (const gchar *format,
gtk_widget_set_sensitive (menuitem, FALSE);
gtk_widget_show (menuitem);
menuitem =
gtk_menu_item_new_with_label (_("More..."));
menuitem = gtk_menu_item_new_with_label (_("More..."));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
g_object_set_data (G_OBJECT (menuitem), "gimp_unit_menu",
GINT_TO_POINTER (GIMP_UNIT_PERCENT + 1));
@ -577,7 +576,8 @@ gimp_unit_menu_create_selection (GimpUnitMenu *menu)
menu->selection = gimp_dialog_new (_("Unit Selection"), "gimp-unit-selection",
GTK_WIDGET (menu),
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, "gimp-unit-dialog",
gimp_standard_help_func,
"gimp-unit-dialog",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,