aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-14 14:19:10 -0500
committerTed Gould <ted@gould.cx>2011-03-14 14:19:10 -0500
commite5d2b6bd554e9dbc790c8b72463e48c1deeee70c (patch)
treeeb0ae836487ddc8a61760eb65fdc5cd91594ae50 /src
parente2adde1fc915569e88152391fda8b0244b095ee2 (diff)
downloadayatana-indicator-application-e5d2b6bd554e9dbc790c8b72463e48c1deeee70c.tar.gz
ayatana-indicator-application-e5d2b6bd554e9dbc790c8b72463e48c1deeee70c.tar.bz2
ayatana-indicator-application-e5d2b6bd554e9dbc790c8b72463e48c1deeee70c.zip
Do a sort after deciding the ordering ID
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c1
1 files changed, 1 insertions, 0 deletions
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);