aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog9
-rw-r--r--src/idoapplicationmenuitem.c4
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 97d3906..642dc63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ido (13.10.0+14.04.20140321-0ubuntu1) trusty; urgency=low
+
+ [ Lars Uebernickel ]
+ * idoapplicationmenuitem: request correct size for empty icons Empty
+ icons request more space than GTK_ICON_SIZE_MENU, which makes menu
+ items unnecessarily high.
+
+ -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Fri, 21 Mar 2014 06:56:56 +0000
+
ido (13.10.0+14.04.20140313-0ubuntu1) trusty; urgency=low
[ Lars Uebernickel ]
diff --git a/src/idoapplicationmenuitem.c b/src/idoapplicationmenuitem.c
index c5910cf..9ca6d87 100644
--- a/src/idoapplicationmenuitem.c
+++ b/src/idoapplicationmenuitem.c
@@ -39,8 +39,12 @@ ido_application_menu_item_constructed (GObject *object)
{
IdoApplicationMenuItem *item = IDO_APPLICATION_MENU_ITEM (object);
GtkWidget *grid;
+ gint icon_height;
+
+ gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, NULL, &icon_height);
item->icon = g_object_ref (gtk_image_new ());
+ gtk_image_set_pixel_size (GTK_IMAGE (item->icon), icon_height);
gtk_widget_set_margin_right (item->icon, 6);
item->label = g_object_ref (gtk_label_new (""));