fix initialization of menu fonts
Mark Tiefenbruck mark@fluxbox.org
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/FbTk/MenuTheme.cc
→
src/FbTk/MenuTheme.cc
@@ -91,6 +91,8 @@ *m_border_width = 0;
*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 @@ h_text_gc.setForeground(*h_text);
d_text_gc.setForeground(*d_text); hilite_gc.setForeground(hilite->color()); - ThemeManager::instance().loadTheme(*this); } MenuTheme::~MenuTheme() {