updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / xblstatus / xblstatus.patch
bloba541fa412094e6ac2c34c9cb660b449c6a023168
1 --- xblstatus.py.orig 2009-09-21 11:09:39.000000000 -0300
2 +++ xblstatus.py 2009-09-21 11:12:18.000000000 -0300
3 @@ -52,6 +52,7 @@
4 LIVE_PASSWD = "password"
6 # Default file locations
7 +APP_DIR = os.path.realpath("/usr/share/xblstatus/")
8 SETTINGS_DIR = os.path.expanduser("~/.xblstatus/")
9 CONFIG_PATH = os.path.join(SETTINGS_DIR, "xblstatus.config")
11 @@ -82,7 +83,7 @@
12 self.configParser = config_parser
14 # load the Glade file
15 - self.wTree = gtk.glade.XML("ui/xblstatusmain.glade")
16 + self.wTree = gtk.glade.XML("%s/ui/xblstatusmain.glade" % APP_DIR)
17 self.windowMain = self.wTree.get_widget("windowMain")
18 self.treeview = self.wTree.get_widget("treeviewMain")
19 self.statusbar = self.wTree.get_widget("statusbarMain")