[gnome-color-manager/colord] trivial: fix the calibrate profile chooser combo box
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager/colord] trivial: fix the calibrate profile chooser combo box
- Date: Thu, 3 Feb 2011 20:19:00 +0000 (UTC)
commit b3819eb6a864dea75d26d819074c7c5c4e5da5c4
Author: Richard Hughes <richard hughsie com>
Date: Thu Feb 3 20:18:01 2011 +0000
trivial: fix the calibrate profile chooser combo box
src/gcm-calibrate-dialog.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/gcm-calibrate-dialog.c b/src/gcm-calibrate-dialog.c
index d607f9c..9d16ba9 100644
--- a/src/gcm-calibrate-dialog.c
+++ b/src/gcm-calibrate-dialog.c
@@ -637,16 +637,10 @@ static void
gcm_calibrate_dialog_setup_combo_simple_text (GtkWidget *combo_box)
{
GtkCellRenderer *cell;
- GtkListStore *store;
-
- store = gtk_list_store_new (1, G_TYPE_STRING);
- gtk_combo_box_set_model (GTK_COMBO_BOX (combo_box), GTK_TREE_MODEL (store));
- g_object_unref (store);
-
cell = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), cell, TRUE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), cell,
- "text", 0,
+ "text", 1,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]