[gnome-documents] preview: destroy the toolbar actor when exiting fullscreen



commit 7aabeaa7068c7fbe93f4b540583bda150c8aa641
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Nov 19 17:42:42 2012 -0500

    preview: destroy the toolbar actor when exiting fullscreen
    
    This ensures we won't get any double toolbar when using preview again.

 src/preview.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index 9b07469..0cc362c 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -310,7 +310,7 @@ const PreviewFullscreen = new Lang.Class({
         this._filter.stop();
 
         this._thumbBar.actor.destroy();
-        this._fsToolbar.widget.destroy();
+        this._fsToolbar.actor.destroy();
     },
 
     _show: function() {



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