summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-25 19:24:14 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-25 19:24:14 +0200
commit674f151c38345eb4376588dde2a2bf81cf2c1b31 (patch)
treeff6e8e9b91b063d3fda407a95962ca5b43fb3400 /src/core.py
parente718682c7fb8c97c5c8c67831619e61c92b328e4 (diff)
downloadpoezio-674f151c38345eb4376588dde2a2bf81cf2c1b31.tar.gz
poezio-674f151c38345eb4376588dde2a2bf81cf2c1b31.tar.bz2
poezio-674f151c38345eb4376588dde2a2bf81cf2c1b31.tar.xz
poezio-674f151c38345eb4376588dde2a2bf81cf2c1b31.zip
Default theme is now ok, I think
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):