UserMenu: show "Install Updates & Restart" when appropriate

When PackageKit signals that it prepared an update, offer an option
to reboot and apply it, using a helper that will setup the next
reboot and then calling to gnome-session.

https://bugzilla.gnome.org/show_bug.cgi?id=677394
This commit is contained in:
Giovanni Campagna
2012-06-03 17:35:37 +02:00
parent 8754b2767c
commit 34831796f6
2 changed files with 23 additions and 0 deletions

View File

@ -50,6 +50,7 @@ const SessionManagerIface = <interface name="org.gnome.SessionManager">
<arg type="u" direction="in" />
</method>
<method name="Shutdown" />
<method name="Reboot" />
<method name="CanShutdown">
<arg type="b" direction="out" />
</method>