aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-03 20:36:54 -0600
committerTed Gould <ted@gould.cx>2012-02-03 20:36:54 -0600
commitcef6f0fc81bb99aac7cc9d78529b12c05c2a5fc1 (patch)
tree6b937dc205c0c6fd70beb80c5b5954b60744d047 /src
parent3ceb0322953f0ddfb7fe69ae703ac5c775a7fe00 (diff)
downloadayatana-indicator-application-cef6f0fc81bb99aac7cc9d78529b12c05c2a5fc1.tar.gz
ayatana-indicator-application-cef6f0fc81bb99aac7cc9d78529b12c05c2a5fc1.tar.bz2
ayatana-indicator-application-cef6f0fc81bb99aac7cc9d78529b12c05c2a5fc1.zip
Changing the output signatures
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 07783ad..0548ced 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -922,12 +922,12 @@ apply_status (Application * app)
if (app->visible_state == VISIBLE_STATE_HIDDEN) {
/* Put on panel */
emit_signal (appstore, "ApplicationAdded",
- g_variant_new ("(sisosssss)", newicon,
+ g_variant_new ("(sisossssss)", newicon,
get_position(app),
app->dbus_name, app->menu,
app->icon_theme_path,
app->label, app->guide,
- newdesc, app->id));
+ newdesc, app->id, app->title));
} else {
/* Icon update */
gint position = get_position(app);
@@ -1347,20 +1347,20 @@ get_applications (ApplicationServiceAppstore * appstore)
continue;
}
- g_variant_builder_add (&builder, "(sisosssss)", app->icon,
+ g_variant_builder_add (&builder, "(sisossssss)", app->icon,
position++, app->dbus_name, app->menu,
app->icon_theme_path, app->label,
app->guide,
(app->icon_desc != NULL) ? app->icon_desc : "",
- app->id);
+ app->id, app->title);
}
out = g_variant_builder_end(&builder);
} else {
GError * error = NULL;
- out = g_variant_parse(g_variant_type_new("a(sisosssss)"), "[]", NULL, NULL, &error);
+ out = g_variant_parse(g_variant_type_new("a(sisossssss)"), "[]", NULL, NULL, &error);
if (error != NULL) {
- g_warning("Unable to parse '[]' as a 'a(sisosssss)': %s", error->message);
+ g_warning("Unable to parse '[]' as a 'a(sisossssss)': %s", error->message);
out = NULL;
g_error_free(error);
}