summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2011-09-07 19:25:24 +0200
committerJan Djärv <jan.h.d@swipnet.se>2011-09-07 19:25:24 +0200
commit115b96bdb5e17c69bafabc82f43cfbfe3eecc115 (patch)
tree99ebb552eea1a81ddf01eae0f4c38eba3d1214e0
parent4feb6e7359c345a00e1c8020be444fc6c2e22f1a (diff)
downloademacs-115b96bdb5e17c69bafabc82f43cfbfe3eecc115.tar.gz
emacs-115b96bdb5e17c69bafabc82f43cfbfe3eecc115.tar.bz2
emacs-115b96bdb5e17c69bafabc82f43cfbfe3eecc115.zip
(xg_make_tool_item): Insert comment about eventbox.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/gtkutil.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f1691252778..293107f6ffb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-07 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_make_tool_item): Insert comment about eventbox.
+
2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
isnan: Fix porting problem to Solaris 10 with bundled gcc.
diff --git a/src/gtkutil.c b/src/gtkutil.c
index c154797735e..04d05d2a630 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -4219,6 +4219,7 @@ xg_make_tool_item (FRAME_PTR f,
GtkToolItem *ti = gtk_tool_item_new ();
GtkWidget *vb = horiz ? gtk_hbox_new (FALSE, 0) : gtk_vbox_new (FALSE, 0);
GtkWidget *wb = gtk_button_new ();
+ /* The eventbox is here so we can have tooltips on disabled items. */
GtkWidget *weventbox = gtk_event_box_new ();
if (wimage && !text_image)