@@ -153,6 +153,16 @@ Item {
154 color: UbuntuColors.red
154 color: UbuntuColors.red
157+ text: i18n.tr("Restart")
159+ dBusUnitySessionServiceConnection.closeAllApps();
160+ DBusUnitySessionService.Reboot();
161+ PopupUtils.close(dialoguePower);
162+ d.dialogShown = false;
164+ color: UbuntuColors.green
157 text: i18n.tr("Cancel")
167 text: i18n.tr("Cancel")
158 onClicked: {
168 onClicked: {