on xenial help sign in
Add Restart button back.
commitc55f459d89e8e15ffd46264297d29ef15e35e6ef authorYing-Chun Liu <paul.liu@canonical.com> dateWed 17 Sep 2014, 21:57 (12 years ago) parentbd05eec
1 file changed+10
qml/Components/Dialogs.qml+10
qml/Components/Dialogs.qml+10
@@ -153,6 +153,16 @@ Item {
153153 }
154154 color: UbuntuColors.red
155155 }
156+ Button {
157+ text: i18n.tr("Restart")
158+ onClicked: {
159+ dBusUnitySessionServiceConnection.closeAllApps();
160+ DBusUnitySessionService.Reboot();
161+ PopupUtils.close(dialoguePower);
162+ d.dialogShown = false;
163+ }
164+ color: UbuntuColors.green
165+ }
156166 Button {
157167 text: i18n.tr("Cancel")
158168 onClicked: {