summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2017-02-21 19:14:56 +0100
committerDebarshi Ray <debarshir@gnome.org>2017-02-25 09:52:42 +0100
commit64ddc152796b09dc5fb662798d6aeaadfed094b7 (patch)
tree038bd8a4ecc9b4ec639787f8c02f24a756bffd7a
parent97a852cdf3d37776f9c98f730d7dcbbe995bdeb7 (diff)
downloadlibgd-64ddc152796b09dc5fb662798d6aeaadfed094b7.tar.gz
main-icon-box-child: Remove the margin-bottom from the GtkOverlay
The margin-bottom was preventing the icon from being centred, and it looks bad when the grid is letterboxed. The intention was to add some spacing between the icon and the first row of text. However, current users of this widget are not showing any text, and this is best done by the theme. https://bugzilla.gnome.org/show_bug.cgi?id=779032
-rw-r--r--libgd/gd-main-icon-box-child.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgd/gd-main-icon-box-child.c b/libgd/gd-main-icon-box-child.c
index 545468e..c6b5a0f 100644
--- a/libgd/gd-main-icon-box-child.c
+++ b/libgd/gd-main-icon-box-child.c
@@ -184,7 +184,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
gtk_container_add (GTK_CONTAINER (self), grid);
overlay = gtk_overlay_new ();
- gtk_widget_set_margin_bottom (overlay, 4);
gtk_container_add (GTK_CONTAINER (grid), overlay);
icon = gd_main_box_item_get_icon (priv->item);