Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c9c916b9

Von cstimming vor mehr als 7 Jahren hinzugefügt

  • ID c9c916b97a14cde9196203d0303643e7c8a7ce41
  • Vorgänger 030463cf
  • Nachfolger 8da8ecd6

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.

Unterschiede anzeigen:

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