diff options
author | Frode Austvik <edorfaus@xepher.net> | 2012-08-21 11:25:51 +0200 |
---|---|---|
committer | Arx Cruz <arxcruz@gnome.org> | 2012-08-21 19:20:12 -0300 |
commit | bac509bb12fafb928f9e4009e46cefc63562b4ca (patch) | |
tree | 00123cfd7ad8e7b338f9a94ab97b48e3c39fd9ee | |
parent | Port to new documentation infrastructure (diff) | |
download | zenity-bac509bb12fafb928f9e4009e46cefc63562b4ca.tar.gz zenity-bac509bb12fafb928f9e4009e46cefc63562b4ca.tar.bz2 zenity-bac509bb12fafb928f9e4009e46cefc63562b4ca.zip |
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
-rw-r--r-- | src/entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.c b/src/entry.c index 7163e54c..2b92e59f 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); |