[gnome-shell] [appDisplay] Use AUTOMATIC for apps-more, not ALWAYS



commit 004cf3da5c93281f003357138dc0be2c889ba97b
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 22 11:54:16 2010 -0500

    [appDisplay] Use AUTOMATIC for apps-more, not ALWAYS
    
    No need to display a scrollbar if we don't need to, and ALWAYS
    isn't yet implemented anyways.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=609015

 js/ui/appDisplay.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index c300851..f8fea7a 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -101,7 +101,7 @@ AllAppDisplay.prototype = {
         this._appView.connect('drag-begin', Lang.bind(this, this.close));
         this._scrollView.add_actor(this._appView.actor);
 
-        this._scrollView.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.ALWAYS);
+        this._scrollView.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
 
         this._workId = Main.initializeDeferredWork(this.actor, Lang.bind(this, this._redisplay));
     },



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