diff src/gtkutil.c @ 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 55c8c3ca3d48
children 8fd0d7bcdf7d
line wrap: on
line diff
--- 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);