Revision c9c916b9
Von cstimming vor mehr als 7 Jahren hinzugefügt
gui/gtk3/w_combobox.c | ||
---|---|---|
/* create widget */
|
||
store=gtk_list_store_new(1, G_TYPE_STRING);
|
||
if (flags & GWEN_WIDGET_FLAGS_READONLY)
|
||
g=gtk_combo_box_new_with_model_and_entry(GTK_TREE_MODEL(store));
|
||
g=gtk_combo_box_new_with_model(GTK_TREE_MODEL(store));
|
||
else
|
||
{
|
||
/* TODO: why the heck does *this* combo box have two columns in the list?? */
|
||
g=gtk_combo_box_new_with_model_and_entry(GTK_TREE_MODEL(store));
|
||
gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX(g), 0);
|
||
}
|
||
g_object_unref(store);
|
||
|
||
cr=gtk_cell_renderer_text_new();
|
Auch abrufbar als: Unified diff
Bug794707 - Aqbanking combo boxes missing selection.
Modified w_combobox.c setup procedure was had an error when modified
for gtk3 use.
Patch by Robert Fewell, 7033b331ee47b601279e68464323fe76b7ceebe5 in gnucash.