Read themes from both ./ and data dir on Mac
This commit is contained in:
parent
5f535088cc
commit
e61d20812e
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@ Features
|
|||
* Tab completion of two letter names
|
||||
* Customizable name alerts
|
||||
* When 'banned' make impossible to connect using timestamp banned under
|
||||
* This nickname has been registered; you may not use it.
|
||||
|
||||
Bugs
|
||||
----
|
||||
|
@ -30,6 +31,7 @@ Bugs
|
|||
* Closing a timeclone doesn't actually cease for everyone else
|
||||
* +q(~) and +a(&) do weird things
|
||||
* Kill Zalgo
|
||||
* Handle netsplits
|
||||
|
||||
Windows Bugs
|
||||
------------
|
||||
|
@ -47,4 +49,3 @@ Mac Bugs
|
|||
* SS: in the one-on-one pester it resizes with the window
|
||||
* SS: but the memo one doesn't resize
|
||||
* SS: and the arrows next to the time thing overlap the CLOSE button
|
||||
* Lex: Do the same with themes.
|
||||
|
|
|
@ -247,6 +247,8 @@ class pesterTheme(dict):
|
|||
self.path = "themes/%s" % (name)
|
||||
else:
|
||||
self.path = _datadir+"themes/%s" % (name)
|
||||
if not os.path.exists(self.path):
|
||||
self.path = "themes/%s" % (name)
|
||||
|
||||
self.name = name
|
||||
fp = open(self.path+"/style.js")
|
||||
|
|
Loading…
Reference in a new issue