diff options
author | Ted Gould <ted@gould.cx> | 2010-03-18 00:32:53 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-18 00:32:53 -0500 |
commit | c73fc61a3c5d997a21065c6269495e393d9e7bbe (patch) | |
tree | c01096fbf167adebade5a23ae73681a1868d7f1a /libdbusmenu-gtk | |
parent | 7f482a71845029ea5bdb865b1acf6736315ca511 (diff) | |
download | libdbusmenu-c73fc61a3c5d997a21065c6269495e393d9e7bbe.tar.gz libdbusmenu-c73fc61a3c5d997a21065c6269495e393d9e7bbe.tar.bz2 libdbusmenu-c73fc61a3c5d997a21065c6269495e393d9e7bbe.zip |
Add alignment settings to the icons
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c index 13a7499..8483675 100644 --- a/libdbusmenu-gtk/client.c +++ b/libdbusmenu-gtk/client.c @@ -594,6 +594,10 @@ image_property_handle (DbusmenuMenuitem * item, const gchar * property, const GV } + if (gtkimage != NULL) { + gtk_misc_set_alignment(GTK_MISC(gtkimage), 0.0, 0.5); + } + genericmenuitem_set_image(GENERICMENUITEM(gimi), gtkimage); return; |