From e68b648a33661562abbcc1061a6a2a43c886e455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 3 Sep 2013 12:07:28 +0200 Subject: [PATCH] appDisplay: Don't show page indicators if there's only one page It doesn't make sense to show the indicators in that case, so don't show them. This has been the design in the first place, but the code that did that was lost at some point during review ... https://bugzilla.gnome.org/show_bug.cgi?id=707363 --- js/ui/appDisplay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index bc4afee40..10d10d1cb 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -224,6 +224,7 @@ const PageIndicators = new Lang.Class({ children[i].destroy(); } this._nPages = nPages; + this.actor.visible = (this._nPages > 1); }, setCurrentPage: function(currentPage) {