summaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
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() {