Use the preferred text editor when opening an extension's .js file

Change "./src/gnome-shell --create-extension" to use "gnome-open"
when opening the newly created .js file, so that it is launched
with the user's preferred text editor, instead of hardcoding gedit.
This commit is contained in:
Siegfried-Angel Gevatter Pujals 2009-12-18 20:26:41 +01:00
parent 45f4292259
commit e326202477

View File

@ -303,7 +303,7 @@ function main() {
''') ''')
f.close() f.close()
subprocess.Popen(['gedit', extensionjs_path]) subprocess.Popen(['gnome-open', extensionjs_path])
sys.exit(0) sys.exit(0)
if options.eval_file: if options.eval_file: