[gnome-shell/modekill: 11/13] perf: Update to latest overlay changes



commit 12b282474a7c9eff3bea2c24343bf596e95f0f0f
Author: Florian MÃllner <fmuellner gnome org>
Date:   Wed Aug 15 03:35:41 2012 +0200

    perf: Update to latest overlay changes
    
    Removing tabs from the overview broke the perf test for the
    application view; update test to the new method of bringing
    it up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682109

 js/perf/core.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/perf/core.js b/js/perf/core.js
index cc41c58..86f2c84 100644
--- a/js/perf/core.js
+++ b/js/perf/core.js
@@ -115,10 +115,10 @@ function run() {
 
     for (let i = 0; i < 2; i++) {
         Scripting.scriptEvent('applicationsShowStart');
-        Main.overview._viewSelector.switchTab('applications');
+        Main.overview._dash.showAppsButton.checked = true;
         yield Scripting.waitLeisure();
         Scripting.scriptEvent('applicationsShowDone');
-        Main.overview._viewSelector.switchTab('windows');
+        Main.overview._dash.showAppsButton.checked = false;
         yield Scripting.waitLeisure();
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]