[gnome-session/gnome-3-6] dbus: Add SessionName property to introspection



commit e8e5d3f7376eeb0b2d365644b1a8a5064cccf5b0
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 22 10:24:00 2012 -0400

    dbus: Add SessionName property to introspection
    
    This fixes the GetAll call that gdbus clients automatically
    do and currently (harmlessly) error out on.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686546

 gnome-session/org.gnome.SessionManager.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/org.gnome.SessionManager.xml b/gnome-session/org.gnome.SessionManager.xml
index 4de612b..8ed6bda 100644
--- a/gnome-session/org.gnome.SessionManager.xml
+++ b/gnome-session/org.gnome.SessionManager.xml
@@ -400,5 +400,13 @@
       </doc:doc>
     </signal>
 
+    <property name="SessionName" type="s" access="read">
+      <doc:doc>
+        <doc:description>
+          <doc:para>The name of the session that has been loaded.</doc:para>
+        </doc:description>
+      </doc:doc>
+    </property>
+
   </interface>
 </node>



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