aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-16 21:13:22 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-16 21:13:22 (GMT)
commit0ca0aa1ac209208011db56f6b77b292c71f26add (patch)
tree2112de2d517581a78d7c5d0ac2c88ca61e3c3051 /src/FbTk
parent4a7a143713c7febe7d3a7df9c044ed767b8bd3c6 (diff)
downloadfluxbox-0ca0aa1ac209208011db56f6b77b292c71f26add.zip
fluxbox-0ca0aa1ac209208011db56f6b77b292c71f26add.tar.bz2
fix initialization of menu fonts
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/MenuTheme.cc3
1 files changed, 2 insertions, 1 deletions
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):
91 *m_bevel_width = 0; 91 *m_bevel_width = 0;
92 *m_border_width = 0; 92 *m_border_width = 0;
93 93
94 ThemeManager::instance().loadTheme(*this);
95
94 t_text_gc.setForeground(*t_text); 96 t_text_gc.setForeground(*t_text);
95 f_text_gc.setForeground(*f_text); 97 f_text_gc.setForeground(*f_text);
96 u_text_gc.setForeground(*u_text); 98 u_text_gc.setForeground(*u_text);
@@ -98,7 +100,6 @@ MenuTheme::MenuTheme(int screen_num):
98 d_text_gc.setForeground(*d_text); 100 d_text_gc.setForeground(*d_text);
99 hilite_gc.setForeground(hilite->color()); 101 hilite_gc.setForeground(hilite->color());
100 102
101 ThemeManager::instance().loadTheme(*this);
102} 103}
103 104
104MenuTheme::~MenuTheme() { 105MenuTheme::~MenuTheme() {