endSessionDialog: Rename a variable

https://bugzilla.gnome.org/show_bug.cgi?id=763611
This commit is contained in:
Kalev Lember 2016-03-14 23:52:14 +01:00
parent e72d388a67
commit db8f6b4848

View File

@ -114,7 +114,7 @@ const restartDialogContent = {
showOtherSessions: true, showOtherSessions: true,
}; };
const restartInstallDialogContent = { const restartUpdateDialogContent = {
subject: C_("title", "Restart & Install Updates"), subject: C_("title", "Restart & Install Updates"),
description: function(seconds) { description: function(seconds) {
@ -143,7 +143,7 @@ const DialogContent = {
0 /* DialogType.LOGOUT */: logoutDialogContent, 0 /* DialogType.LOGOUT */: logoutDialogContent,
1 /* DialogType.SHUTDOWN */: shutdownDialogContent, 1 /* DialogType.SHUTDOWN */: shutdownDialogContent,
2 /* DialogType.RESTART */: restartDialogContent, 2 /* DialogType.RESTART */: restartDialogContent,
3 /* DialogType.UPDATE_RESTART */: restartInstallDialogContent 3 /* DialogType.UPDATE_RESTART */: restartUpdateDialogContent
}; };
const MAX_USERS_IN_SESSION_DIALOG = 5; const MAX_USERS_IN_SESSION_DIALOG = 5;