[gnome-documents] toolbar: remove the view selector from the main toolbar



commit 70b03b38daf19e58ad6aaec517e5c913b4f29e41
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Dec 21 18:34:29 2011 +0100

    toolbar: remove the view selector from the main toolbar
    
    Don't remove the code yet, since we might want to add it back on the
    toolbar when launched in an environment that doesn't support App Menus.

 src/mainToolbar.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index 74eae7c..8dce929 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -177,9 +177,6 @@ MainToolbar.prototype = {
     _populateForOverview: function() {
         this.widget.set_mode(Gd.MainToolbarMode.OVERVIEW);
 
-        let viewSel = new ViewSelector();
-        this.widget.add_widget(viewSel.widget, Gd.MainToolbarPosition.RIGHT);
-
         // connect to active collection changes while in this mode
         this._collectionId =
             Global.collectionManager.connect('active-changed',



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