summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-25 19:28:31 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-25 19:28:31 +0200
commit8d67fbf133b1c9fd59325915f89888be31a5eec4 (patch)
tree608cc6be1f89d53f10a8ac207a06d1b2d582d333 /src/core.py
parent412e9c281cc76d2c969eab353c4cc0f62429d001 (diff)
parent674f151c38345eb4376588dde2a2bf81cf2c1b31 (diff)
downloadpoezio-8d67fbf133b1c9fd59325915f89888be31a5eec4.tar.gz
poezio-8d67fbf133b1c9fd59325915f89888be31a5eec4.tar.bz2
poezio-8d67fbf133b1c9fd59325915f89888be31a5eec4.tar.xz
poezio-8d67fbf133b1c9fd59325915f89888be31a5eec4.zip
merge
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core.py b/src/core.py
index b93678ab..67e7bbe8 100644
--- a/src/core.py
+++ b/src/core.py
@@ -809,6 +809,7 @@ class Core(object):
stdscr.keypad(True)
curses.start_color()
curses.use_default_colors()
+ theming.reload_theme()
curses.ungetch(" ") # H4X: without this, the screen is
stdscr.getkey() # erased on the first "getkey()"
@@ -886,7 +887,7 @@ class Core(object):
self.command_win('%s' % tab.nb)
return
for tab in self.tabs:
- if tab.get_color_state() == theme.COLOR_TAB_DISCONNECTED:
+ if tab.get_color_state() == get_theme().COLOR_TAB_DISCONNECTED:
self.command_win('%s' % tab.nb)
return
for tab in self.tabs:
@@ -1179,9 +1180,7 @@ class Core(object):
self.xmpp.plugin['xep_0030'].get_items(jid=server, block=False, callback=list_tab.on_muc_list_item_received)
def command_theme(self, arg):
- """
- """
- # get_theme().reload_theme()
+ theming.reload_theme()
self.refresh_window()
def command_win(self, arg):