appDisplay: set hscrollbar_policy = NEVER on the category view actor

https://bugzilla.gnome.org/show_bug.cgi?id=686881
This commit is contained in:
Cosimo Cecchi 2013-01-24 14:36:56 -05:00
parent 426581eb1e
commit 07696086a2

View File

@ -153,6 +153,7 @@ const ViewByCategories = new Lang.Class({
y_fill: false,
style_class: 'vfade' });
this._categoryScroll.add_actor(this._categoryBox);
this._categoryScroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
this.actor.add(this._view.actor, { expand: true, x_fill: true, y_fill: true });
this.actor.add(this._categoryScroll, { expand: false, y_fill: false, y_align: St.Align.START });