[gnome-documents] embed: rename ViewEmbed to Embed



commit c3286a86a5c7e67c76348434db0b364c05088b1c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 26 13:31:17 2012 -0400

    embed: rename ViewEmbed to Embed
    
    There's only an Embed.

 src/embed.js      |    4 ++--
 src/mainWindow.js |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 4cbb055..bec499a 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -43,8 +43,8 @@ const GtkClutter = imports.gi.GtkClutter;
 
 const _PDF_LOADER_TIMEOUT = 400;
 
-const ViewEmbed = new Lang.Class({
-    Name: 'ViewEmbed',
+const Embed = new Lang.Class({
+    Name: 'Embed',
 
     _init: function() {
         this._adjustmentValueId = 0;
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 8bfdb7b..9cd2e7c 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -89,7 +89,7 @@ const MainWindow = new Lang.Class({
         Global.modeController.connect('fullscreen-changed',
                                       Lang.bind(this, this._onFullscreenChanged));
 
-        this._embed = new Embed.ViewEmbed();
+        this._embed = new Embed.Embed();
         this._embed.actor.add_constraint(
             new Clutter.BindConstraint({ coordinate: Clutter.BindCoordinate.SIZE,
                                          source: stage }));



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