changeset 22456:af83f19d8c08

Set the TOOLTIP hint on imhtml link tooltips. Thanks to Danny Baumann for pointing this out.
author Will Thompson <will.thompson@collabora.co.uk>
date Tue, 11 Mar 2008 15:58:25 +0000
parents 6cfb6e26787f
children 2ebc7c497382
files pidgin/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Tue Mar 11 15:57:17 2008 +0000
+++ b/pidgin/gtkimhtml.c	Tue Mar 11 15:58:25 2008 +0000
@@ -440,6 +440,8 @@
 	gtk_widget_set_app_paintable (imhtml->tip_window, TRUE);
 	gtk_window_set_resizable (GTK_WINDOW (imhtml->tip_window), FALSE);
 	gtk_widget_set_name (imhtml->tip_window, "gtk-tooltips");
+	gtk_window_set_type_hint (GTK_WINDOW (imhtml->tip_window),
+		GDK_WINDOW_TYPE_HINT_TOOLTIP);
 	g_signal_connect_swapped (G_OBJECT (imhtml->tip_window), "expose_event",
 							  G_CALLBACK (gtk_imhtml_tip_paint), imhtml);