[gnome-shell] endSessionDialog: Fix DialogContent const



commit a4c1b55111724abc3bda95c8e366a0f68f22d4ae
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Sep 11 17:04:36 2014 +0100

    endSessionDialog: Fix DialogContent const
    
    Fallout from commit 0258c7a518 ...

 js/ui/endSessionDialog.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index dc3ad81..966bae2 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -140,10 +140,10 @@ const DialogType = {
 };
 
 const DialogContent = {
-    DialogType.LOGOUT: logoutDialogContent,
-    DialogType.SHUTDOWN: shutdownDialogContent,
-    DialogType.RESTART: restartDialogContent,
-    DialogType.UPDATE_RESTART: restartInstallDialogContent
+    0 /* DialogType.LOGOUT */: logoutDialogContent,
+    1 /* DialogType.SHUTDOWN */: shutdownDialogContent,
+    2 /* DialogType.RESTART */: restartDialogContent,
+    3 /* DialogType.UPDATE_RESTART */: restartInstallDialogContent
 };
 
 const MAX_USERS_IN_SESSION_DIALOG = 5;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]