[gnome-documents] preview: rename PreviewEmbed to PreviewFullscreen



commit 12ff0fcb13d48862a69925bd86050b58954cd03b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 26 13:30:37 2012 -0400

    preview: rename PreviewEmbed to PreviewFullscreen
    
    It's more indicative of what the class does

 src/embed.js   |    6 +++---
 src/preview.js |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 3bdd10b..4cbb055 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -143,10 +143,10 @@ const ViewEmbed = new Lang.Class({
 
     _onFullscreenChanged: function(controller, fullscreen) {
         if (fullscreen) {
-            this._previewEmbed = new Preview.PreviewEmbed(this._preview, this._overlayLayout, this._contentsActor);
+            this._previewFullscreen = new Preview.PreviewFullscreen(this._preview, this._overlayLayout, this._contentsActor);
         } else {
-            this._previewEmbed.destroy();
-            this._previewEmbed = null;
+            this._previewFullscreen.destroy();
+            this._previewFullscreen = null;
         }
 
         Gtk.Settings.get_default().gtk_application_prefer_dark_theme = fullscreen;
diff --git a/src/preview.js b/src/preview.js
index 62783a8..3523c32 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -173,8 +173,8 @@ const PreviewThumbnails = new Lang.Class({
     }
 });
 
-const PreviewEmbed = new Lang.Class({
-    Name: 'PreviewEmbed',
+const PreviewFullscreen = new Lang.Class({
+    Name: 'PreviewFullscreen',
 
     _init: function(previewView, layout, parentActor) {
         this._motionTimeoutId = 0;



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