[gnome-shell/wip/paging-release2: 17/22] appDisplay: Start always at scroll 0 on FolderView
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release2: 17/22] appDisplay: Start always at scroll 0 on FolderView
- Date: Mon, 26 Aug 2013 13:16:01 +0000 (UTC)
commit 9d6520b9f9b7896ea800a4403f2af4e1553735e5
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Mon Aug 19 17:01:45 2013 +0200
appDisplay: Start always at scroll 0 on FolderView
Reset the scroll adjustment between popups opennings,
following the same design we want to the AllView
https://bugzilla.gnome.org/show_bug.cgi?id=706081
js/ui/appDisplay.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 7f66e39..3682117 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1051,6 +1051,7 @@ const FolderIcon = new Lang.Class({
function() {
this._ensurePopup();
this._popup.toggle();
+ this.view.actor.vscroll.adjustment.value = 0;
}));
this.actor.connect('notify::mapped', Lang.bind(this,
function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]