[gnome-documents/wip/ui-changes] preview: complete the previous fix
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/ui-changes] preview: complete the previous fix
- Date: Thu, 29 Nov 2012 00:00:10 +0000 (UTC)
commit c648e818743eb9cb3ed5db9d38f05e6c6210615b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Nov 28 18:54:19 2012 -0500
preview: complete the previous fix
src/preview.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index 09accfb..7c28c40 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -432,11 +432,13 @@ const PreviewFullscreenToolbar = new Lang.Class({
this.parent(previewView);
this.actor.visible = false;
+ this.widget.sensitive = false;
this.actor.y = -(this.widget.get_preferred_height()[1]);
},
show: function() {
this.actor.show();
+ this.widget.sensitive = true;
Tweener.addTween(this.actor,
{ y: 0,
time: 0.20,
@@ -450,6 +452,7 @@ const PreviewFullscreenToolbar = new Lang.Class({
transition: 'easeOutQuad',
onComplete: function() {
this.actor.hide();
+ this.widget.sensitive = false;
},
onCompleteScope: this });
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]