GTK3: avoid duplicate schema name in profil editor

master-1.22
Wolfgang Ulbrich 2015-11-20 16:54:38 +01:00
parent d9a196be38
commit 1e8eef25c7
1 changed files with 3 additions and 2 deletions

View File

@ -544,8 +544,9 @@ init_color_scheme_menu (GtkWidget *combo_box)
g_object_unref (store); g_object_unref (store);
renderer = gtk_cell_renderer_text_new (); renderer = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, TRUE); /*FIXME, avoid double loading of color schemes names from UI file */
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer, "text", 0, NULL); /* 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 #else