aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup-menu.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-30 23:28:36 +0800
committerDan Winship <danw@src.gnome.org>2000-08-30 23:28:36 +0800
commitccda437a9ab19df7be5a3d5608cc4ca7c93c4e69 (patch)
tree8688343a8da0848b359c7d43386e916b058f06fa /e-util/e-popup-menu.c
parent6c6dba281e93d9f5aff9dc9f7260c470857ae400 (diff)
downloadgsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar
gsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar.gz
gsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar.bz2
gsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar.lz
gsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar.xz
gsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar.zst
gsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.zip
make e-util depend on libunicode
* Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
Diffstat (limited to 'e-util/e-popup-menu.c')
-rw-r--r--e-util/e-popup-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-popup-menu.c b/e-util/e-popup-menu.c
index 3fb382ae20..2421578dfd 100644
--- a/e-util/e-popup-menu.c
+++ b/e-util/e-popup-menu.c
@@ -33,7 +33,7 @@ make_item (GtkMenu *menu, const char *name, const char *pixname)
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_widget_show (label);
- item = gtk_pixmap_menu_item_new ();
+ item = pixname ? gtk_pixmap_menu_item_new () : gtk_menu_item_new ();
gtk_container_add (GTK_CONTAINER (item), label);
if (label_accel != GDK_VoidSymbol){