Blob Blame History Raw
From 8489dffe54e7c8374e6068f8e70cf4f8c09e0609 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Thu, 17 Oct 2013 15:39:57 +0100
Subject: [PATCH] updates: Correctly start gnome-software when clicking on the
 notification buttons

---
 plugins/updates/gsd-updates-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
1.8.3.1