diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-13 01:42:52 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-13 01:42:52 (GMT) |
commit | 5b7bde2ffbac62f75cb8539f5ab43bb5f4274eae (patch) | |
tree | 06cf36126a38168a767ceaf0f7b877abfc6298e1 /src/WorkspaceNameTheme.hh | |
parent | b302dab2f187e364df36237c44b8e48f1e892f04 (diff) | |
download | fluxbox-5b7bde2ffbac62f75cb8539f5ab43bb5f4274eae.zip fluxbox-5b7bde2ffbac62f75cb8539f5ab43bb5f4274eae.tar.bz2 |
fix initialization of WorkspaceNameTheme
Diffstat (limited to 'src/WorkspaceNameTheme.hh')
-rw-r--r-- | src/WorkspaceNameTheme.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/WorkspaceNameTheme.hh b/src/WorkspaceNameTheme.hh index e4f426f..e90ef01 100644 --- a/src/WorkspaceNameTheme.hh +++ b/src/WorkspaceNameTheme.hh | |||
@@ -30,7 +30,10 @@ class WorkspaceNameTheme: public ToolTheme, | |||
30 | public: | 30 | public: |
31 | WorkspaceNameTheme(int screen_num, | 31 | WorkspaceNameTheme(int screen_num, |
32 | const std::string &name, | 32 | const std::string &name, |
33 | const std::string &alt_name):ToolTheme(screen_num, name, alt_name) { } | 33 | const std::string &alt_name): |
34 | ToolTheme(screen_num, name, alt_name) { | ||
35 | FbTk::ThemeManager::instance().loadTheme(*this); | ||
36 | } | ||
34 | 37 | ||
35 | bool fallback(FbTk::ThemeItem_base &item) { | 38 | bool fallback(FbTk::ThemeItem_base &item) { |
36 | if (item.name() == "toolbar.workspace.textColor") { | 39 | if (item.name() == "toolbar.workspace.textColor") { |