gnome-settings-daemon r795 - trunk/plugins/xrandr



Author: federico
Date: Thu Mar 19 23:36:00 2009
New Revision: 795
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=795&view=rev

Log:
bgo576006 (RANDR) - Add an XRANDR-2 interface with a new method.
This method is the same as the old ApplyConfiguration, but also takes a parent window ID
for the transient-parent of the confirmation dialog, and a timestamp.

Signed-off-by: Federico Mena Quintero <federico novell com>

Modified:
   trunk/plugins/xrandr/gsd-xrandr-manager.xml

Modified: trunk/plugins/xrandr/gsd-xrandr-manager.xml
==============================================================================
--- trunk/plugins/xrandr/gsd-xrandr-manager.xml	(original)
+++ trunk/plugins/xrandr/gsd-xrandr-manager.xml	Thu Mar 19 23:36:00 2009
@@ -3,6 +3,21 @@
   <interface name="org.gnome.SettingsDaemon.XRANDR">
     <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="gsd_xrandr_manager"/>
     <method name="ApplyConfiguration">
+      <!-- This method is implemented, but deprecated in favor of the
+      same method in the XRANDR-2 interface defined below. -->
+    </method>
+  </interface>
+
+  <interface name="org.gnome.SettingsDaemon.XRANDR_2">
+    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="gsd_xrandr_manager_2"/>
+    <method name="ApplyConfiguration">
+      <!-- transient-parent window for the confirmation dialog; use 0
+      for no parent -->
+      <arg name="parent_window_id" type="x" direction="in"/>
+
+      <!-- Timestamp used to present the confirmation dialog and (in
+      the future) for the RANDR calls themselves -->
+      <arg name="timestamp" type="x" direction="in"/>
     </method>
   </interface>
 </node>



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