blob: 5392de0f36e1f8ed877dd7cf24c0c00d1fdf0f68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name="org.gnome.SessionManager.EndSessionDialog">
<method name="Open">
<arg type="u" name="type" direction="in">
<doc:doc>
<doc:summary>
The type of dialog to show.
0 for logout, 1 for shutdown, 2 for restart.
</doc:summary>
</doc:doc>
</arg>
<arg type="u" name="timestamp" direction="in">
<doc:doc>
<doc:summary>
Timestamp of the user-initiated event which triggered
the call, or 0 if the call was not triggered by an event.
</doc:summary>
</doc:doc>
</arg>
<arg type="u" name="seconds_to_stay_open" direction="in">
<doc:doc>
<doc:summary>
The number of seconds which the dialog should stay open
before automatic action is taken.
</doc:summary>
</doc:doc>
</arg>
<arg type="ao" name="inhibitor_object_paths" direction="in">
<doc:doc>
<doc:summary>
The object paths of all inhibitors that are registered
for the action.
</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:summary>
This function opens a dialog which asks the user for confirmation
of a logout, poweroff or reboot action. The dialog has a timeout
after which the action is automatically taken, and it should show
the inhibitors to the user.
</doc:summary>
</doc:doc>
</method>
<signal name="ConfirmedLogout" />
<signal name="ConfirmedReboot" />
<signal name="ConfirmedShutdown" />
<signal name="Canceled" />
<signal name="Closed" />
</interface>
</node>
|