[zenity] Fix the ComboBoxText construction so the dropmenu works again.
- From: Arx Henrique Pereira da Cruz <arxcruz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [zenity] Fix the ComboBoxText construction so the dropmenu works again.
- Date: Tue, 21 Aug 2012 22:20:18 +0000 (UTC)
commit bac509bb12fafb928f9e4009e46cefc63562b4ca
Author: Frode Austvik <edorfaus xepher net>
Date: Tue Aug 21 11:25:51 2012 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]