aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-16 09:58:20 -0500
committerTed Gould <ted@gould.cx>2011-03-16 09:58:20 -0500
commiteb6a8631e4f7a71f35b4e9a5e9d5e998915d07ff (patch)
tree8a7d7776d4d30c360a87ce64b1ab3551860c27e9 /src
parenta601eb238f444982b99047672ae39b5784e60c70 (diff)
parent9e0c4a202815159488030a7d6ce65a39303d8f0e (diff)
downloadayatana-indicator-application-eb6a8631e4f7a71f35b4e9a5e9d5e998915d07ff.tar.gz
ayatana-indicator-application-eb6a8631e4f7a71f35b4e9a5e9d5e998915d07ff.tar.bz2
ayatana-indicator-application-eb6a8631e4f7a71f35b4e9a5e9d5e998915d07ff.zip
Fix ordering of indicators
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 77f0634..25eba69 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -374,6 +374,7 @@ load_override_file (GHashTable * hash, const gchar * filename)
g_return_if_fail(filename != NULL);
if (!g_file_test(filename, G_FILE_TEST_EXISTS)) {
+ g_debug("Override file '%s' doesn't exist", filename);
return;
}
@@ -486,6 +487,7 @@ got_all_properties (GObject * source_object, GAsyncResult * res,
} /* else ignore */
}
g_variant_iter_free (iter);
+ g_variant_unref(properties);
if (menu == NULL || id == NULL || category == NULL || status == NULL ||
icon_name == NULL) {
@@ -524,6 +526,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);