Permalink
Browse files

Fixed broken links. Thanks to Bill Bumgarner for the fix!

git-svn-id: http://svn.textmate.org/trunk/Bundles/GTD2.tmbundle@5446 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent d003314 commit 3faa90ef996fd8041372d2cbe75869f3f890f4bb Mike Mellor committed Oct 13, 2006
Showing with 6 additions and 6 deletions.
  1. +3 −3 Commands/Active GTD2 List View.tmCommand
  2. +3 −3 Commands/GTD2 List View.tmCommand
@@ -25,10 +25,10 @@ end
def TextMate.file_link (file, line = 0)
- return "txmt://open/?url=file://" +
+ return "txmt://open/?url=file://" + $myPath + "/" +
file.gsub(/[^a-zA-Z0-9.-\/]/) { |m| sprintf("%%%02X", m[0]) } +
- "&line=" + line.to_s
-end
+ ".gtd&line=" + line.to_s
+end
# the contexts.gtd file is read, and converted into $contexts
file = File.open($myPath+"/contexts.gtd", "r")
@@ -23,10 +23,10 @@ end
def TextMate.file_link (file, line = 0)
- return "txmt://open/?url=file://" +
+ return "txmt://open/?url=file://" + $myPath + "/" +
file.gsub(/[^a-zA-Z0-9.-\/]/) { |m| sprintf("%%%02X", m[0]) } +
- "&line=" + line.to_s
-end
+ ".gtd&line=" + line.to_s
+end
# the contexts.gtd file is read, and converted into $contexts
file = File.open($myPath+"/contexts.gtd", "r")

0 comments on commit 3faa90e

Please sign in to comment.