on xenial help sign in
Add Restart button back.
c55f459Ying-Chun Liu
qml/Components/Dialogs.qml+10
@@ -153,6 +153,16 @@ Item {
153 }
153 }
154 color: UbuntuColors.red
154 color: UbuntuColors.red
155 }
155 }
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+ }
156 Button {
166 Button {
157 text: i18n.tr("Cancel")
167 text: i18n.tr("Cancel")
158 onClicked: {
168 onClicked: {