mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/gnome-utils/gnc-query-list.c: we can't use a reversed list
and prepend() because then we're always adding row 0 so the saved checkmarks fail. So, use the slow way and use 'append()'. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8320 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
of an item.
|
||||
* src/gnome-utils/search-param.[ch]: fix the spelling of resizeable
|
||||
|
||||
* src/gnome-utils/gnc-query-list.c: we can't use a reversed list
|
||||
and prepend() because then we're always adding row 0 so the
|
||||
saved checkmarks fail. So, use the slow way and use 'append()'.
|
||||
|
||||
2003-05-12 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/quotes/finance-quote-check.in:
|
||||
|
||||
@@ -767,7 +767,6 @@ gnc_query_list_fill(GNCQueryList *list)
|
||||
|
||||
/* Reverse the list now because 'append()' takes too long */
|
||||
entries = gncQueryRun(list->query);
|
||||
entries = g_list_reverse(entries);
|
||||
|
||||
for (item = entries; item; item = item->next)
|
||||
{
|
||||
@@ -809,7 +808,7 @@ gnc_query_list_fill(GNCQueryList *list)
|
||||
strings[i++] = gncQueryCoreToString (type, res, fcn);
|
||||
}
|
||||
|
||||
row = gtk_clist_prepend (GTK_CLIST(list), (gchar **) strings);
|
||||
row = gtk_clist_append (GTK_CLIST(list), (gchar **) strings);
|
||||
gtk_clist_set_row_data (GTK_CLIST(list), row, item->data);
|
||||
|
||||
/* Free up our strings */
|
||||
@@ -828,9 +827,6 @@ gnc_query_list_fill(GNCQueryList *list)
|
||||
|
||||
list->num_entries++;
|
||||
}
|
||||
|
||||
/* Reverse the list again for the query code */
|
||||
g_list_reverse(entries);
|
||||
}
|
||||
|
||||
/********************************************************************\
|
||||
|
||||
Reference in New Issue
Block a user