From 8daaeda6517214d1609e510643e67d77646e0311 Mon Sep 17 00:00:00 2001 From: Jan D Date: Tue, 26 Oct 2010 08:09:54 +0200 Subject: [PATCH] * gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278). --- src/ChangeLog | 4 ++++ src/gtkutil.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 529677cb5f4..11cfd232e45 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-10-26 Jan Djärv + + * gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278). + 2010-10-25 Glenn Morris * Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc. diff --git a/src/gtkutil.c b/src/gtkutil.c index 3b7e6888753..7103d2b1991 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -589,6 +589,8 @@ qttip_cb (GtkWidget *widget, 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); -- 2.39.5