summaryrefslogtreecommitdiff
path: root/gtk/gtkcombo.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-03-07 21:10:45 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-03-07 21:10:45 +0000
commitc0c2ac8e384ee76e35bdfa79ea7e6cfdaa82c734 (patch)
tree14c42d1acd48643b34603513dad33748b2d0abd5 /gtk/gtkcombo.c
parent06e5e2a5f02e915875bbf70615c65cade7f9cfc9 (diff)
downloadgtk+-c0c2ac8e384ee76e35bdfa79ea7e6cfdaa82c734.tar.gz
Set names on the popup widgets to make them themable. (#414975, Benjamin
2007-03-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombo.c: (gtk_combo_init): * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget), (gtk_combo_box_menu_setup): Set names on the popup widgets to make them themable. (#414975, Benjamin Berg) svn path=/trunk/; revision=17417
Diffstat (limited to 'gtk/gtkcombo.c')
-rw-r--r--gtk/gtkcombo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c
index 10d10b2991..46f6c8402c 100644
--- a/gtk/gtkcombo.c
+++ b/gtk/gtkcombo.c
@@ -940,6 +940,7 @@ gtk_combo_init (GtkCombo * combo)
G_CALLBACK (gtk_combo_popup_button_leave), combo);
combo->popwin = gtk_window_new (GTK_WINDOW_POPUP);
+ gtk_widget_set_name (combo->popwin, "gtk-combo-popup-window");
gtk_window_set_type_hint (GTK_WINDOW (combo->popwin), GDK_WINDOW_TYPE_HINT_COMBO);
g_object_ref (combo->popwin);
gtk_window_set_resizable (GTK_WINDOW (combo->popwin), FALSE);