[gnome-settings-daemon] updates: Correctly start gnome-software when clicking on the notification buttons



commit 8489dffe54e7c8374e6068f8e70cf4f8c09e0609
Author: Richard Hughes <richard hughsie com>
Date:   Thu Oct 17 15:39:57 2013 +0100

    updates: Correctly start gnome-software when clicking on the notification buttons

 plugins/updates/gsd-updates-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 901840e..9c4d3f1 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -224,7 +224,7 @@ start_gnome_software_with_mode (const gchar *mode)
 
         argv = g_new0 (gchar *, 3);
         argv[0] = g_build_filename (BINDIR, "gnome-software", NULL);
-        argv[1] = g_strdup_printf ("--mode %s", mode);
+        argv[1] = g_strdup_printf ("--mode=%s", mode);
         ret = g_spawn_async (NULL, argv, NULL, 0, NULL, NULL, NULL, &error);
         if (!ret) {
                 g_warning ("Failed to spawn gnome-software: %s", error->message);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]