[gnome-games/gsoc-seed-games] [lightsoff] Fix miscapitalization of 'Path' (fresh installs run now)



commit a459c6c548ba467feea40f9a6abae4aecb651c84
Author: Tim Horton <hortont svn gnome org>
Date:   Mon Jul 13 16:24:12 2009 -0400

    [lightsoff] Fix miscapitalization of 'Path' (fresh installs run now)

 lightsoff/src/ThemeLoader.js |    4 ++--
 lightsoff/src/main.js        |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lightsoff/src/ThemeLoader.js b/lightsoff/src/ThemeLoader.js
index cae4caa..c30d5d2 100644
--- a/lightsoff/src/ThemeLoader.js
+++ b/lightsoff/src/ThemeLoader.js
@@ -3,7 +3,7 @@ Gio = imports.gi.Gio;
 
 function load_svg(theme, file)
 {
-	var tx = new Clutter.Texture({filename: imports.path.file_prefix + "themes/"
+	var tx = new Clutter.Texture({filename: imports.Path.file_prefix + "themes/"
 	                                        + theme + "/" + file});
 	tx.filter_quality = Clutter.TextureQuality.HIGH;
 	tx.hide();
@@ -25,7 +25,7 @@ function load_themes()
 {
 	themes = {};
 	
-	file = Gio.file_new_for_path(imports.path.file_prefix + "/themes");
+	file = Gio.file_new_for_path(imports.Path.file_prefix + "/themes");
 	enumerator = file.enumerate_children("standard::name");
 	
 	while((child = enumerator.next_file()))
diff --git a/lightsoff/src/main.js b/lightsoff/src/main.js
index 3fb7993..4c8a55a 100755
--- a/lightsoff/src/main.js
+++ b/lightsoff/src/main.js
@@ -1,6 +1,6 @@
 #!/usr/bin/env seed
 
-file_prefix = imports.path.file_prefix;
+file_prefix = imports.Path.file_prefix;
 
 GtkClutter = imports.gi.GtkClutter;
 Clutter = imports.gi.Clutter;



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