[gnome-initial-setup/shell/4765: 325/362] Updated the code to use the new tutorial's dbus format



commit 7eaceae718c0590599175cdbfee359efd9f0ae74
Author: Srdjan Grubor <sgnn7 sgnn7 org>
Date:   Wed Jan 7 18:15:07 2015 -0600

    Updated the code to use the new tutorial's dbus format
    
    Since the tutorial now has an extra parameter that it expects, we needed
    to update the client-side code for it in GIS.

 .../summary/com.endlessm.Tutorial.FBERemote.xml    |    4 +++-
 .../pages/summary/gis-summary-page.c               |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/summary/com.endlessm.Tutorial.FBERemote.xml 
b/gnome-initial-setup/pages/summary/com.endlessm.Tutorial.FBERemote.xml
index ff4d38d..f1af796 100644
--- a/gnome-initial-setup/pages/summary/com.endlessm.Tutorial.FBERemote.xml
+++ b/gnome-initial-setup/pages/summary/com.endlessm.Tutorial.FBERemote.xml
@@ -2,6 +2,8 @@
 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd";>
 <node>
   <interface name="com.endlessm.Tutorial.FBERemote">
-    <method name="PlayTutorial" />
+    <method name="PlayTutorial">
+      <arg type="b" direction="in" name="ignore_exit"/>
+    </method>
   </interface>
 </node>
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.c 
b/gnome-initial-setup/pages/summary/gis-summary-page.c
index 182e420..791cd94 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.c
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.c
@@ -276,7 +276,7 @@ launch_tutorial (GisSummaryPage *summary)
   /* use g_dbus_proxy_call() to specify a custom timeout */
   g_dbus_proxy_call (G_DBUS_PROXY (fbe_remote),
                      "PlayTutorial",
-                     g_variant_new ("()"),
+                     g_variant_new ("(b)", TRUE),
                      G_DBUS_CALL_FLAGS_NONE,
                      G_MAXINT,
                      NULL, /* cancellable */


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