Permalink
Browse files

change the way to access my_zen_settings.py

  • Loading branch information...
1 parent 3aca125 commit 56471aa6516148d265015b016d5f6ac5afe9516e @fmarcia committed May 27, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 zencoding/plugin.py
View
@@ -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)

0 comments on commit 56471aa

Please sign in to comment.