From bac509bb12fafb928f9e4009e46cefc63562b4ca Mon Sep 17 00:00:00 2001 From: Frode Austvik Date: Tue, 21 Aug 2012 11:25:51 +0200 Subject: Fix the ComboBoxText construction so the dropmenu works again. This fixes lp#998445 by changing the code to construct a new ComboBoxText instead of a ComboBox, which it was (probably accidentally) changed to do in commit 4421de67. Closes: lp#998445 --- src/entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/entry.c b/src/entry.c index 7163e54..2b92e59 100644 --- a/src/entry.c +++ b/src/entry.c @@ -107,7 +107,7 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data) n_entries = g_slist_length (entries); if (n_entries > 1) { - entry = gtk_combo_box_new_with_entry (); + entry = gtk_combo_box_text_new_with_entry (); for (tmp = entries; tmp; tmp = tmp->next) { gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (entry), tmp->data); -- cgit v1.2.3