From 0ca0aa1ac209208011db56f6b77b292c71f26add Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Sun, 16 Dec 2007 13:13:22 -0800 Subject: fix initialization of menu fonts --- src/FbTk/MenuTheme.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FbTk/MenuTheme.cc b/src/FbTk/MenuTheme.cc index 46da48e..3502bb1 100644 --- a/src/FbTk/MenuTheme.cc +++ b/src/FbTk/MenuTheme.cc @@ -91,6 +91,8 @@ MenuTheme::MenuTheme(int screen_num): *m_bevel_width = 0; *m_border_width = 0; + ThemeManager::instance().loadTheme(*this); + t_text_gc.setForeground(*t_text); f_text_gc.setForeground(*f_text); u_text_gc.setForeground(*u_text); @@ -98,7 +100,6 @@ MenuTheme::MenuTheme(int screen_num): d_text_gc.setForeground(*d_text); hilite_gc.setForeground(hilite->color()); - ThemeManager::instance().loadTheme(*this); } MenuTheme::~MenuTheme() { -- cgit v0.11.2