[gnome-shell/gnome-3-2] gnome-shell-extension-tool: Fix error after creating extension



commit 2d95201af2995603b58a36b6b174bc50178244c9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Oct 13 00:46:46 2011 -0400

    gnome-shell-extension-tool: Fix error after creating extension
    
    Commit 7a8a00c7057d56350d4b5509cefd812a67d4b7d7 cleaned up the code to move all
    files to a dictionary, which accidentally left an undefined "extensionjs_path"
    error. Fix that error.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661623

 src/gnome-shell-extension-tool.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-shell-extension-tool.in b/src/gnome-shell-extension-tool.in
index e610b46..8ec24fb 100644
--- a/src/gnome-shell-extension-tool.in
+++ b/src/gnome-shell-extension-tool.in
@@ -148,5 +148,6 @@ use an extension title clicktofocus janedoe example com '''
         f.close()
 
     print "Created extension in %r" % (extension_path, )
+    extensionjs_path = os.path.join(extension_path, 'extension.js')
     subprocess.Popen(['gnome-open', extensionjs_path])
     sys.exit(0)



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