From c147f7fb738c18308027f910db034f4ddc11cb2d Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 20 May 2010 15:33:05 -0400 Subject: [PATCH] Another name change --- README.markdown | 8 ++++---- TODO | 2 +- huginn.conf => hrafn.conf | 2 +- huginn.py => hrafn.py | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) rename huginn.conf => hrafn.conf (81%) rename huginn.py => hrafn.py (98%) diff --git a/README.markdown b/README.markdown index 50dcf99..453213a 100644 --- a/README.markdown +++ b/README.markdown @@ -1,4 +1,4 @@ -Huginn is a python twitter application. It started because no existing client supported the Lists API, but has grown to be a general-purpose Twitter client. +Hrafn is a python twitter application. It started because no existing client supported the Lists API, but has grown to be a general-purpose Twitter client. ### Installation @@ -14,7 +14,7 @@ For the twitter module, you can download and install it with: hg clone https://python-twitter.googlecode.com/hg/ python-twitter cd python-twitter hg update dev - for i in ../huginn/python-twitter-*.patch; do patch p1 < $i; done + for i in ../hrafn/python-twitter-*.patch; do patch p1 < $i; done python setup.py build python setup.py install --user @@ -23,8 +23,8 @@ This will install python-twitter in your ~/.local/lib directory, which python 2. ### Configuration -Copy the supplied huginn.conf file to ~/.huginn.conf, and edit it to suit your preferences. At a minimum, you need to change the [account] section to contain a valid twitter username and password. You can have multiple [account] sections, but they must be uniquely named, and the section name must start with 'account'. +Copy the supplied hrafn.conf file to ~/.hrafn.conf, and edit it to suit your preferences. At a minimum, you need to change the [account] section to contain a valid twitter username and password. You can have multiple [account] sections, but they must be uniquely named, and the section name must start with 'account'. ### Usage -Just run ./huginn.py, and start playing around. Right now, it is best to run this file in-place; it expects twitterwidgets.py and default.glade to be in the same directory. +Just run ./hrafn.py, and start playing around. Right now, it is best to run this file in-place; it expects twitterwidgets.py and default.glade to be in the same directory. diff --git a/TODO b/TODO index e333855..5e2a4a1 100644 --- a/TODO +++ b/TODO @@ -22,4 +22,4 @@ bugs: considerable tweaks to python-twitter) * "ValueError: list.remove(x): x not in list" when trying to close a tab (error recurred after adding conversation support). Tabs can be reordered, then closed, as a workaround. * Links must be right-clicked on to activate - can't left-click on the link directly. This seems to be a pygtk issue -* Bugs: File "/home/user/code/huginn/apithreads.py", line 234: UnboundLocalError: local variable 'user' referenced before assignment +* Bugs: File "/home/user/code/hrafn/apithreads.py", line 234: UnboundLocalError: local variable 'user' referenced before assignment diff --git a/huginn.conf b/hrafn.conf similarity index 81% rename from huginn.conf rename to hrafn.conf index 031c901..c8e8f19 100644 --- a/huginn.conf +++ b/hrafn.conf @@ -2,7 +2,7 @@ debug=0 entries=20 refreshtime=5 -dbfile=~/.huginn.db +dbfile=~/.hrafn.db [account] username=username diff --git a/huginn.py b/hrafn.py similarity index 98% rename from huginn.py rename to hrafn.py index fd292ca..018217e 100755 --- a/huginn.py +++ b/hrafn.py @@ -10,7 +10,7 @@ from threading import enumerate import apithreads -class Huginn(): +class Hrafn(): """ Display Tweets, post to twitter """ @@ -34,7 +34,7 @@ class Huginn(): config.set('global', 'refreshtime', '5') new_data = True if not config.has_option('global', 'dbfile'): - config.set('global', 'dbfile', '~/.huginn.db') + config.set('global', 'dbfile', '~/.hrafn.db') new_data = True # Write out new config data, if needed @@ -548,18 +548,18 @@ class Huginn(): -### end class Huginn +### end class Hrafn # main debug = False parser = optparse.OptionParser() -parser.add_option('-c' ,'--config', dest="filename", default="~/.huginn.conf", help="read configuration from FILENAME instead of the default ~/.huginn.conf") +parser.add_option('-c' ,'--config', dest="filename", default="~/.hrafn.conf", help="read configuration from FILENAME instead of the default ~/.hrafn.conf") parser.add_option('-n' ,'--no-resize', dest="resize", action='store_false', default=True, help="use the default window size instead of the size from the last session") (options, args) = parser.parse_args() -my_twitter = Huginn(options.filename, options.resize) +my_twitter = Hrafn(options.filename, options.resize) gtk.gdk.threads_init() gtk.gdk.threads_enter()