comparison pidgin/gtkstatusbox.c @ 22481: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 69ad31c9983d
children a73acc0c4dc8
comparison
equal deleted inserted replaced
22480:ff9c67757b82 22481:d5d95a852a1c
1733 gtk_window_set_transient_for (GTK_WINDOW (status_box->popup_window), 1733 gtk_window_set_transient_for (GTK_WINDOW (status_box->popup_window),
1734 GTK_WINDOW (toplevel)); 1734 GTK_WINDOW (toplevel));
1735 } 1735 }
1736 1736
1737 gtk_window_set_resizable (GTK_WINDOW (status_box->popup_window), FALSE); 1737 gtk_window_set_resizable (GTK_WINDOW (status_box->popup_window), FALSE);
1738 #if GTK_CHECK_VERSION(2,10,0)
1739 gtk_window_set_type_hint (GTK_WINDOW (status_box->popup_window),
1740 GDK_WINDOW_TYPE_HINT_POPUP_MENU);
1741 #endif
1738 #if GTK_CHECK_VERSION(2,2,0) 1742 #if GTK_CHECK_VERSION(2,2,0)
1739 gtk_window_set_screen (GTK_WINDOW (status_box->popup_window), 1743 gtk_window_set_screen (GTK_WINDOW (status_box->popup_window),
1740 gtk_widget_get_screen (GTK_WIDGET (status_box))); 1744 gtk_widget_get_screen (GTK_WIDGET (status_box)));
1741 #endif 1745 #endif
1742 status_box->popup_frame = gtk_frame_new (NULL); 1746 status_box->popup_frame = gtk_frame_new (NULL);