changeset 22470:d5d95a852a1c

Danny Baumann pointed out that the status box menu should have the appropriate hint set.
author Will Thompson <will.thompson@collabora.co.uk>
date Sat, 15 Mar 2008 18:36:04 +0000
parents ff9c67757b82
children 7a815907ba5a
files pidgin/gtkstatusbox.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c	Sat Mar 15 14:49:22 2008 +0000
+++ b/pidgin/gtkstatusbox.c	Sat Mar 15 18:36:04 2008 +0000
@@ -1735,6 +1735,10 @@
 	}
 
 	gtk_window_set_resizable (GTK_WINDOW (status_box->popup_window), FALSE);
+#if GTK_CHECK_VERSION(2,10,0)
+	gtk_window_set_type_hint (GTK_WINDOW (status_box->popup_window),
+			GDK_WINDOW_TYPE_HINT_POPUP_MENU);
+#endif
 #if GTK_CHECK_VERSION(2,2,0)
 	gtk_window_set_screen (GTK_WINDOW (status_box->popup_window),
 			gtk_widget_get_screen (GTK_WIDGET (status_box)));