[gnome-shell] [placeDisplay] Fix inverted logic for desktop-is-home case
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] [placeDisplay] Fix inverted logic for desktop-is-home case
- Date: Mon, 16 Nov 2009 19:13:19 +0000 (UTC)
commit 15265000790f63b27e4cb3899712b310041e494f
Author: Colin Walters <walters verbum org>
Date: Mon Nov 16 14:10:13 2009 -0500
[placeDisplay] Fix inverted logic for desktop-is-home case
We only want to hide the Desktop link if it desktopIsHome, not
if it isn't.
js/ui/placeDisplay.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/placeDisplay.js b/js/ui/placeDisplay.js
index aa5003e..f408fc9 100644
--- a/js/ui/placeDisplay.js
+++ b/js/ui/placeDisplay.js
@@ -284,7 +284,7 @@ PlacesManager.prototype = {
getDefaultPlaces: function () {
let places = [this._home];
- if (this._isDesktopHome)
+ if (!this._isDesktopHome)
places.push(this._desktopMenu);
if (this._network)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]