diff options
Diffstat (limited to 'src/RootTheme.hh')
-rw-r--r-- | src/RootTheme.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh index 9b45d60..7c1f8b5 100644 --- a/src/RootTheme.hh +++ b/src/RootTheme.hh | |||
@@ -51,7 +51,8 @@ public: | |||
51 | 51 | ||
52 | bool fallback(FbTk::ThemeItem_base &item); | 52 | bool fallback(FbTk::ThemeItem_base &item); |
53 | void reconfigTheme(); | 53 | void reconfigTheme(); |
54 | void setLoaded() { m_background_loaded = true; } | 54 | // little hack to deal with reconfigures -- should be fixed |
55 | void setLoaded() { m_background_loaded = true; m_already_set = false; } | ||
55 | 56 | ||
56 | GC opGC() const { return m_opgc.gc(); } | 57 | GC opGC() const { return m_opgc.gc(); } |
57 | 58 | ||
@@ -68,6 +69,7 @@ private: | |||
68 | const std::string &m_root_command; | 69 | const std::string &m_root_command; |
69 | FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture | 70 | FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture |
70 | bool m_background_loaded; ///< whether or not the background is present in the style file | 71 | bool m_background_loaded; ///< whether or not the background is present in the style file |
72 | bool m_already_set; | ||
71 | 73 | ||
72 | }; | 74 | }; |
73 | 75 | ||