[gtkmm/gtkmm-3-0] ComboBoxText: Constructor: Set entry-text-column and d-column.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-0] ComboBoxText: Constructor: Set entry-text-column and d-column.
- Date: Wed, 29 Jun 2011 07:40:46 +0000 (UTC)
commit 86558a4d2a93653e9aa5e07b0137c23f4b82f87c
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Jun 29 09:27:20 2011 +0200
ComboBoxText: Constructor: Set entry-text-column and d-column.
* gtk/src/comboboxtext.ccg: gtk_combo_box_text_new() does this,
instead of setting them in some construct or init function, so we need to
too. It's arguably a GtkComboBoxText bug.
Bug #653579 (Glus Xof)
ChangeLog | 9 +++++++++
gtk/src/comboboxtext.ccg | 3 ++-
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b2c7e75..0408fa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-06-29 Murray Cumming <murrayc murrayc com>
+
+ ComboBoxText: Constructor: Set entry-text-column and d-column.
+
+ * gtk/src/comboboxtext.ccg: gtk_combo_box_text_new() does this,
+ instead of setting them in some construct or init function, so we need to
+ too. It's arguably a GtkComboBoxText bug.
+ Bug #653579 (Glus Xof)
+
2011-06-03 Kalev Lember <kalev smartlink ee>
Updated the FSF address in license headers and COPYING file
diff --git a/gtk/src/comboboxtext.ccg b/gtk/src/comboboxtext.ccg
index d59521f..f5a19b9 100644
--- a/gtk/src/comboboxtext.ccg
+++ b/gtk/src/comboboxtext.ccg
@@ -24,7 +24,8 @@ namespace Gtk
ComboBoxText::ComboBoxText(bool has_entry)
:
- _CONSTRUCT("has-entry", gboolean(has_entry))
+ //The entry-text-column and id-column values are copied from gtk_combo_box_text_new():
+ _CONSTRUCT("has-entry", gboolean(has_entry), "entry-text-column", 0, "id-column", 1)
{}
void ComboBoxText::set_active_text(const Glib::ustring& text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]