[gnome-shell/gnome-3-12] system: Fix visibility of suspend button
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-12] system: Fix visibility of suspend button
- Date: Wed, 4 Feb 2015 11:24:58 +0000 (UTC)
commit a63821a57f850ae4b2c763ecebb2a565d4eec126
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 4 12:01:47 2015 +0100
system: Fix visibility of suspend button
It depends on the availability of suspend, not shutdown ...
js/ui/status/system.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/system.js b/js/ui/status/system.js
index f13ad51..d474e59 100644
--- a/js/ui/status/system.js
+++ b/js/ui/status/system.js
@@ -285,7 +285,7 @@ const Indicator = new Lang.Class({
let disabled = Main.sessionMode.isLocked ||
(Main.sessionMode.isGreeter &&
this._loginScreenSettings.get_boolean(DISABLE_RESTART_KEY));
- this._suspendAction.visible = this._haveShutdown && !disabled;
+ this._suspendAction.visible = this._haveSuspend && !disabled;
this._updateActionsVisibility();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]