aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2014-03-19 17:06:10 -0400
committerMichael Terry <michael.terry@canonical.com>2014-03-19 17:06:10 -0400
commitd04b5637fa83495d6ab2640cba7c6efd996e10f9 (patch)
tree50c57cfeb57fe6b54d51b85fc77590fd3f0e5f95 /data
parentfc939ab00cca71db88398900e1f80bc59aa9064d (diff)
downloadayatana-greeter-session-broadcast-d04b5637fa83495d6ab2640cba7c6efd996e10f9.tar.gz
ayatana-greeter-session-broadcast-d04b5637fa83495d6ab2640cba7c6efd996e10f9.tar.bz2
ayatana-greeter-session-broadcast-d04b5637fa83495d6ab2640cba7c6efd996e10f9.zip
Rename application to url
Diffstat (limited to 'data')
-rw-r--r--data/com.canonical.Unity.Greeter.Broadcast.gschema.xml6
-rw-r--r--data/com.canonical.Unity.Greeter.Broadcast.xml4
-rw-r--r--data/unity-greeter-session-broadcast-session.conf4
3 files changed, 6 insertions, 8 deletions
diff --git a/data/com.canonical.Unity.Greeter.Broadcast.gschema.xml b/data/com.canonical.Unity.Greeter.Broadcast.gschema.xml
index 4799d68..f9fbf22 100644
--- a/data/com.canonical.Unity.Greeter.Broadcast.gschema.xml
+++ b/data/com.canonical.Unity.Greeter.Broadcast.gschema.xml
@@ -1,10 +1,10 @@
<schemalist>
<schema id="com.canonical.Unity.Greeter.Broadcast" path="/com/canonical/Unity/Greeter/Broadcast/" gettext-domain="unity-greeter-session-broadcast">
- <key name="allow-start-application" type="b">
- <summary>Allow the Greeter to start applications in this session</summary>
+ <key name="allow-start-url" type="b">
+ <summary>Allow the Greeter to start URLs in this session</summary>
<description>
The key controls whether the service in the session will listen
- for and react to the request from the greeter to start an application
+ for and react to the request from the greeter to start an url
from the greeter.
</description>
<default>true</default>
diff --git a/data/com.canonical.Unity.Greeter.Broadcast.xml b/data/com.canonical.Unity.Greeter.Broadcast.xml
index 8bcaf7e..020505e 100644
--- a/data/com.canonical.Unity.Greeter.Broadcast.xml
+++ b/data/com.canonical.Unity.Greeter.Broadcast.xml
@@ -2,7 +2,7 @@
<node>
<interface name="com.canonical.Unity.Greeter.Broadcast">
<!-- From the Greeter -->
- <method name="RequestApplicationStart">
+ <method name="RequestUrlStart">
<arg type="s" name="username" direction="in" />
<arg type="s" name="url" direction="in" />
</method>
@@ -12,7 +12,7 @@
</method>
<!-- To the Session -->
- <signal name="StartApplication">
+ <signal name="StartUrl">
<arg type="s" name="username" direction="out" />
<arg type="s" name="url" direction="out" />
</signal>
diff --git a/data/unity-greeter-session-broadcast-session.conf b/data/unity-greeter-session-broadcast-session.conf
index cf66d2d..7f45187 100644
--- a/data/unity-greeter-session-broadcast-session.conf
+++ b/data/unity-greeter-session-broadcast-session.conf
@@ -3,10 +3,8 @@ author "Ted Gould <ted@canonical.com>"
task
-emits application-start
-
#TODO: Check GSettings Key
-start on dbus BUS=system SIGNAL="StartApplication" INTERFACE="com.canonical.Unity.Greeter.Broadcast" OBJPATH="/com/canonical/Unity/Greeter/Broadcast"
+start on dbus BUS=system SIGNAL="StartUrl" INTERFACE="com.canonical.Unity.Greeter.Broadcast" OBJPATH="/com/canonical/Unity/Greeter/Broadcast"
pre-start script
if [ -z $ARG0 ] ; then