[gnome-documents/gnome-3-4] preview: always show thumbbar when show() is called



commit 65e992a54f291694f18292b94e2d97c30f41b0c7
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Mar 24 19:19:33 2012 -0400

    preview: always show thumbbar when show() is called
    
    Fix thumbbar losing sync with the toolbar in fullscreen mode.

 src/preview.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index e98762b..5124962 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -110,10 +110,6 @@ PreviewThumbnails.prototype = {
     },
 
     show: function() {
-        if (this.actor.opacity != 0)
-            return;
-
-        this.actor.opacity = 0;
         this.actor.show();
 
         Tweener.addTween(this.actor,



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