[empathy] Port empathy-status-preset-dialog to GtkComboBox
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Port empathy-status-preset-dialog to GtkComboBox
- Date: Mon, 18 Oct 2010 07:49:15 +0000 (UTC)
commit 0edff90c614fd8011c12c7be6981df5d9443f41b
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Mon Oct 18 10:35:00 2010 +1100
Port empathy-status-preset-dialog to GtkComboBox
libempathy-gtk/empathy-status-preset-dialog.c | 4 ++--
libempathy-gtk/empathy-status-preset-dialog.h | 2 +-
libempathy-gtk/empathy-status-preset-dialog.ui | 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-status-preset-dialog.c b/libempathy-gtk/empathy-status-preset-dialog.c
index 2d7ecfe..957a17d 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.c
+++ b/libempathy-gtk/empathy-status-preset-dialog.c
@@ -22,7 +22,7 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*
- * Authors: Davyd Madeley <davyd madeley collabora co uk>
+ * Authors: Danielle Madeley <danielle madeley collabora co uk>
*/
/**
* SECTION:empathy-status-preset-dialog
@@ -179,7 +179,7 @@ status_preset_dialog_setup_add_combobox (EmpathyStatusPresetDialog *self)
GTK_TREE_MODEL (store));
g_object_unref (store);
- gtk_combo_box_entry_set_text_column (GTK_COMBO_BOX_ENTRY (combobox),
+ gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (combobox),
ADD_COMBO_DEFAULT_TEXT);
for (i = 0; i < G_N_ELEMENTS (states); i++) {
diff --git a/libempathy-gtk/empathy-status-preset-dialog.h b/libempathy-gtk/empathy-status-preset-dialog.h
index 2c507ce..5cf0e33 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.h
+++ b/libempathy-gtk/empathy-status-preset-dialog.h
@@ -22,7 +22,7 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*
- * Authors: Davyd Madeley <davyd madeley collabora co uk>
+ * Authors: Danielle Madeley <danielle madeley collabora co uk>
*/
#ifndef __EMPATHY_STATUS_PRESET_DIALOG_H__
diff --git a/libempathy-gtk/empathy-status-preset-dialog.ui b/libempathy-gtk/empathy-status-preset-dialog.ui
index a330182..754a95b 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.ui
+++ b/libempathy-gtk/empathy-status-preset-dialog.ui
@@ -88,8 +88,9 @@
<property name="visible">True</property>
<property name="spacing">3</property>
<child>
- <object class="GtkComboBoxEntry" id="add-combobox">
+ <object class="GtkComboBox" id="add-combobox">
<property name="visible">True</property>
+ <property name="has-entry">True</property>
</object>
<packing>
<property name="position">0</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]