From 1e8eef25c7fa7ce17cd978ccc246fbfd40eb38f6 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Fri, 20 Nov 2015 16:54:38 +0100 Subject: [PATCH] GTK3: avoid duplicate schema name in profil editor --- src/profile-editor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/profile-editor.c b/src/profile-editor.c index d66b5da..ce847ed 100644 --- a/src/profile-editor.c +++ b/src/profile-editor.c @@ -544,8 +544,9 @@ init_color_scheme_menu (GtkWidget *combo_box) g_object_unref (store); renderer = gtk_cell_renderer_text_new (); - gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, TRUE); - gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer, "text", 0, NULL); +/*FIXME, avoid double loading of color schemes names from UI file */ +/* gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, TRUE); + gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer, "text", 0, NULL);*/ #else