aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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
parent6c6dba281e93d9f5aff9dc9f7260c470857ae400 (diff)
downloadgsoc2013-evolution-ccda437a9ab19df7be5a3d5608cc4ca7c93c4e69.tar.gz
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')
-rw-r--r--e-util/ChangeLog9
-rw-r--r--e-util/Makefile.am2
-rw-r--r--e-util/e-popup-menu.c2
3 files changed, 12 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index cb5d4f0a5e..cf73491624 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,12 @@
+2000-08-30 Dan Winship <danw@helixcode.com>
+
+ * 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.
+
2000-08-24 Lauris Kaplinski <lauris@helixcode.com>
* e-unicode.h:
diff --git a/e-util/Makefile.am b/e-util/Makefile.am
index 729a402c4b..d0659bcd4a 100644
--- a/e-util/Makefile.am
+++ b/e-util/Makefile.am
@@ -46,5 +46,7 @@ libeutil_la_SOURCES = \
e-unicode.c \
e-unicode.h
+libeutil_la_LIBADD = $(UNICODE_LIBS)
+
libeutil_static_la_SOURCES = $(libeutil_la_SOURCES)
libeutil_static_la_LDFLAGS = --all-static \ No newline at end of file
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){