removed the useless padding from the label which shows the name of the

2003-09-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c
	(gimp_container_grid_view_init): removed the useless padding from
	the label which shows the name of the selected item, so it's
	properly aligned with the widget's left border now.
This commit is contained in:
Michael Natterer 2003-09-21 14:57:30 +00:00 committed by Michael Natterer
parent 3ee7c4d0e0
commit 0a20036a1c
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2003-09-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainergridview.c
(gimp_container_grid_view_init): removed the useless padding from
the label which shows the name of the selected item, so it's
properly aligned with the widget's left border now.
2003-09-21 Sven Neumann <sven@gimp.org>
* app/core/core-enums.[ch]: renamed new enums to use "style" instead

View File

@ -200,8 +200,6 @@ gimp_container_grid_view_init (GimpContainerGridView *grid_view)
grid_view->name_label = gtk_label_new (_("(None)"));
gtk_misc_set_alignment (GTK_MISC (grid_view->name_label), 0.0, 0.5);
gtk_misc_set_padding (GTK_MISC (grid_view->name_label),
grid_view->name_label->style->xthickness, 0);
gtk_box_pack_start (GTK_BOX (grid_view), grid_view->name_label,
FALSE, FALSE, 0);
gtk_box_reorder_child (GTK_BOX (grid_view), grid_view->name_label, 0);