diff --git a/data/geany.glade b/data/geany.glade index 2f36ab9b..2bd48459 100644 --- a/data/geany.glade +++ b/data/geany.glade @@ -4256,6 +4256,12 @@ True False liststore8 + + + + 0 + + 1 @@ -4352,6 +4358,12 @@ True False liststore6 + + + + 0 + + @@ -4412,6 +4424,12 @@ True False liststore7 + + + + 0 + + diff --git a/src/ui_utils.c b/src/ui_utils.c index 23111270..4aa422a8 100644 --- a/src/ui_utils.c +++ b/src/ui_utils.c @@ -2256,16 +2256,6 @@ void ui_init_builder(void) toplevel = ui_get_top_parent(widget); if (toplevel) ui_hookup_widget(toplevel, widget, name); - - /* Glade doesn't seem to add cell renderers for the combo boxes, - * so they are added here. */ - if (GTK_IS_COMBO_BOX(widget)) - { - renderer = gtk_cell_renderer_text_new(); - gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(widget), renderer, TRUE); - gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(widget), - renderer, "text", 0, NULL); - } } g_slist_free(all_objects); }