Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change the way to access my_zen_settings.py

  • Loading branch information...
commit 56471aa6516148d265015b016d5f6ac5afe9516e 1 parent 3aca125
@fmarcia authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  zencoding/plugin.py
View
3  zencoding/plugin.py
@@ -201,5 +201,6 @@ def toggle_comment(self, action, window):
self.editor.toggle_comment(window)
def edit_settings(self, action, window):
- window.create_tab_from_uri("file:///" + os.path.expanduser("~/.gnome2/gedit/plugins/zencoding/my_zen_settings.py"), None, 0, True, True)
+ name = 'file://' + os.path.join(os.path.dirname(__file__), 'my_zen_settings.py')
+ window.create_tab_from_uri(name, None, 0, True, True)
Please sign in to comment.
Something went wrong with that request. Please try again.