diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-30 23:28:36 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-30 23:28:36 +0800 |
commit | ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69 (patch) | |
tree | 8688343a8da0848b359c7d43386e916b058f06fa /widgets/misc/e-popup-menu.c | |
parent | 6c6dba281e93d9f5aff9dc9f7260c470857ae400 (diff) | |
download | gsoc2013-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 'widgets/misc/e-popup-menu.c')
-rw-r--r-- | widgets/misc/e-popup-menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c index 3fb382ae20..2421578dfd 100644 --- a/widgets/misc/e-popup-menu.c +++ b/widgets/misc/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){ |