gnome-shell-extension-tool: Use xdg-open

gnome-open is deprecated
This commit is contained in:
Jasper St. Pierre 2011-10-20 12:48:40 -04:00
parent 38c768fdb3
commit e63c2da433

View File

@ -149,5 +149,5 @@ use an extension title clicktofocus@janedoe.example.com.'''
print "Created extension in %r" % (extension_path, ) print "Created extension in %r" % (extension_path, )
extensionjs_path = os.path.join(extension_path, 'extension.js') extensionjs_path = os.path.join(extension_path, 'extension.js')
subprocess.Popen(['gnome-open', extensionjs_path]) subprocess.Popen(['xdg-open', extensionjs_path])
sys.exit(0) sys.exit(0)