From e5d2b6bd554e9dbc790c8b72463e48c1deeee70c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 14 Mar 2011 14:19:10 -0500 Subject: Do a sort after deciding the ordering ID --- src/application-service-appstore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index faf6dc0..43d9e23 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -525,6 +525,7 @@ got_all_properties (GObject * source_object, GAsyncResult * res, app->ordering_index = GPOINTER_TO_UINT(ordering_index_over); } g_debug("'%s' ordering index is '%X'", app->id, app->ordering_index); + app->appstore->priv->applications = g_list_sort_with_data(app->appstore->priv->applications, app_sort_func, NULL); if (label != NULL) { app->label = g_variant_dup_string(label, NULL); -- cgit v1.2.3