changeset 111186:801b9f880236

* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
author Jan D <jan.h.d@swipnet.se>
date Tue, 26 Oct 2010 08:09:54 +0200
parents 050a28bd1797
children bdd44c5fd3da
files src/ChangeLog src/gtkutil.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Oct 25 20:58:19 2010 -0700
+++ b/src/ChangeLog	Tue Oct 26 08:09:54 2010 +0200
@@ -1,3 +1,7 @@
+2010-10-26  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
+
 2010-10-25  Glenn Morris  <rgm@gnu.org>
 
 	* Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
--- a/src/gtkutil.c	Mon Oct 25 20:58:19 2010 -0700
+++ b/src/gtkutil.c	Tue Oct 26 08:09:54 2010 +0200
@@ -589,6 +589,8 @@
       g_object_ref (G_OBJECT (x->ttip_lbl));
       gtk_tooltip_set_custom (tooltip, x->ttip_lbl);
       x->ttip_window = GTK_WINDOW (gtk_widget_get_toplevel (x->ttip_lbl));
+      /* ATK needs an empty title for some reason.  */
+      gtk_window_set_title (x->ttip_window, "");
       /* Realize so we can safely get screen later on.  */
       gtk_widget_realize (GTK_WIDGET (x->ttip_window));
       gtk_widget_realize (x->ttip_lbl);