[sushi] text: reference correct variable



commit f04402a414f038c598c4a9c32f4b95c8e24ec67f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Feb 15 17:41:06 2014 -0800

    text: reference correct variable

 src/js/viewers/text.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/viewers/text.js b/src/js/viewers/text.js
index 1e5fe46..2b89065 100644
--- a/src/js/viewers/text.js
+++ b/src/js/viewers/text.js
@@ -59,7 +59,7 @@ TextRenderer.prototype = {
         let schemaName = 'org.gnome.gedit.preferences.editor';
         let installedSchemas = Gio.Settings.list_schemas();
         if (installedSchemas.indexOf(schemaName) > -1) {
-            let geditSettings = new Gio.Settings({ schema: schema_name });
+            let geditSettings = new Gio.Settings({ schema: schemaName });
             let geditSchemeName = geditSettings.get_string('scheme');
             if (geditSchemeName != '')
                 this._geditScheme = geditSchemeName;


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