Permalink
Browse files

Merge pull request #36 from programmin1/master

URL changes
  • Loading branch information...
2 parents 733bab1 + 7b71fb0 commit ee455e53d62c3ad47fab448820c4e4b6dd7ecb7c @rbrito rbrito committed Feb 21, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −3 src/TunesViewer.py
  2. +3 −0 src/constants.py
View
@@ -52,7 +52,7 @@
from Parser import Parser
from SingleWindowSocket import SingleWindowSocket
from common import *
-from constants import TV_VERSION, SEARCH_U, SEARCH_P, USER_AGENT
+from constants import TV_VERSION, SEARCH_U, SEARCH_P, USER_AGENT, HELP_URL, BUG_URL
class TunesViewer:
source = "" # full html/xml source
@@ -884,12 +884,12 @@ def tabChange(self, obj1, obj2, i):
def bugReport(self, obj):
logging.debug("Opening bug")
- openDefault("http://sourceforge.net/tracker/?group_id=305696&atid=1288143")
+ openDefault(BUG_URL)
def showHelp(self, obj):
logging.debug("Opening Help")
- openDefault("/usr/share/tunesviewer/help.txt")
+ openDefault(HELP_URL)
def showAbout(self, obj):
View
@@ -37,3 +37,6 @@
SEARCH_URL1 = "http://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearch?media=iTunesU&searchButton=submit&allTitle=%s&descriptionTerm=%s&institutionTerm=%s"
SEARCH_URL2 = "http://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/advancedSearch?media=podcast&titleTerm=%s&authorTerm=%s&descriptionTerm=%s&genreIndex=&languageTerm="
+#Project Urls
+HELP_URL = "http://sourceforge.net/apps/trac/tunesviewer/wiki/help"
+BUG_URL = "http://sourceforge.net/tracker/?func=add&group_id=305696&atid=1288143"

0 comments on commit ee455e5

Please sign in to comment.