[gnome-shell/wip/flashing-junk: 1/5] system: Hide the AltSwitcher when we have nothing to show
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/flashing-junk: 1/5] system: Hide the AltSwitcher when we have nothing to show
- Date: Mon, 26 Aug 2013 20:04:54 +0000 (UTC)
commit 016f65f33ea56ddcac51e3b801e25503f1661c38
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Aug 26 15:21:23 2013 -0400
system: Hide the AltSwitcher when we have nothing to show
js/ui/status/system.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/status/system.js b/js/ui/status/system.js
index 40968ab..c319b09 100644
--- a/js/ui/status/system.js
+++ b/js/ui/status/system.js
@@ -60,6 +60,8 @@ const AltSwitcher = new Lang.Class({
// sync the pointer to make sure they update.
global.sync_pointer();
}
+
+ this.actor.visible = (childToShow != null);
},
_onDestroy: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]