mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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:
parent
8754b2767c
commit
34831796f6
2 changed files with 23 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue