aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-05-31 17:26:12 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-05-31 17:26:12 -0400
commitcb6475e58a7af64db828471962d2400cda841395 (patch)
treecd2ab5a4e5951fb0ff0128dd0845f44a4277bb26 /src/idoscalemenuitem.c
parente5d21874d8c6a0d0adfab5e5294b3d0d02445f11 (diff)
downloadayatana-ido-cb6475e58a7af64db828471962d2400cda841395.tar.gz
ayatana-ido-cb6475e58a7af64db828471962d2400cda841395.tar.bz2
ayatana-ido-cb6475e58a7af64db828471962d2400cda841395.zip
idoscalemenuitem: make the scale expand and fill in the menu item
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r--src/idoscalemenuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 25460bb..9f1c57d 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -389,18 +389,18 @@ update_packing (IdoScaleMenuItem *self, IdoScaleMenuItemStyle style)
{
case IDO_SCALE_MENU_ITEM_STYLE_IMAGE:
gtk_box_pack_start (box, priv->primary_image, FALSE, FALSE, 0);
- gtk_box_pack_start (box, priv->scale, FALSE, FALSE, 0);
+ gtk_box_pack_start (box, priv->scale, TRUE, TRUE, 0);
gtk_box_pack_start (box, priv->secondary_image, FALSE, FALSE, 0);
break;
case IDO_SCALE_MENU_ITEM_STYLE_LABEL:
gtk_box_pack_start (box, priv->primary_label, FALSE, FALSE, 0);
- gtk_box_pack_start (box, priv->scale, FALSE, FALSE, 0);
+ gtk_box_pack_start (box, priv->scale, TRUE, TRUE, 0);
gtk_box_pack_start (box, priv->secondary_label, FALSE, FALSE, 0);
break;
default:
- gtk_box_pack_start (box, priv->scale, FALSE, FALSE, 0);
+ gtk_box_pack_start (box, priv->scale, TRUE, TRUE, 0);
break;
}