appDisplay: Use EXTERNAL scroll policy
Now that we support the new policy type, we can just use it instead of hiding the scrollbar. https://bugzilla.gnome.org/show_bug.cgi?id=739379
This commit is contained in:
parent
5fca85cd28
commit
5180ab262c
@ -379,9 +379,7 @@ const AllView = new Lang.Class({
|
|||||||
this.actor.add_actor(this._scrollView);
|
this.actor.add_actor(this._scrollView);
|
||||||
|
|
||||||
this._scrollView.set_policy(Gtk.PolicyType.NEVER,
|
this._scrollView.set_policy(Gtk.PolicyType.NEVER,
|
||||||
Gtk.PolicyType.AUTOMATIC);
|
Gtk.PolicyType.EXTERNAL);
|
||||||
// we are only using ScrollView for the fade effect, hide scrollbars
|
|
||||||
this._scrollView.vscroll.hide();
|
|
||||||
this._adjustment = this._scrollView.vscroll.adjustment;
|
this._adjustment = this._scrollView.vscroll.adjustment;
|
||||||
|
|
||||||
this._pageIndicators = new PageIndicators();
|
this._pageIndicators = new PageIndicators();
|
||||||
|
Loading…
Reference in New Issue
Block a user