summaryrefslogtreecommitdiff
path: root/src/ButtonTheme.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-25 17:16:40 (GMT)
committerrathnor <rathnor>2004-08-25 17:16:40 (GMT)
commit5337fc6640efbe911682568b6281850fd322e4bb (patch)
treeb2a722b45550cee7dc612b113ddebd9395841ab7 /src/ButtonTheme.cc
parentf32969d4e5a18bddd426b481824eb50902cba5de (diff)
downloadfluxbox_lack-5337fc6640efbe911682568b6281850fd322e4bb.zip
fluxbox_lack-5337fc6640efbe911682568b6281850fd322e4bb.tar.bz2
fix up theming of the toolbar
Diffstat (limited to 'src/ButtonTheme.cc')
-rw-r--r--src/ButtonTheme.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ButtonTheme.cc b/src/ButtonTheme.cc
index 47177cd..663da77 100644
--- a/src/ButtonTheme.cc
+++ b/src/ButtonTheme.cc
@@ -14,6 +14,7 @@ ButtonTheme::ButtonTheme(int screen_num,
14 14
15bool ButtonTheme::fallback(FbTk::ThemeItem_base &item) { 15bool ButtonTheme::fallback(FbTk::ThemeItem_base &item) {
16 16
17/* Don't fallback these for theme backwards compatibility
17 if (item.name().find(".borderWidth") != std::string::npos) { 18 if (item.name().find(".borderWidth") != std::string::npos) {
18 return FbTk::ThemeManager::instance().loadItem(item, "borderWidth", "BorderWidth"); 19 return FbTk::ThemeManager::instance().loadItem(item, "borderWidth", "BorderWidth");
19 } 20 }
@@ -21,7 +22,7 @@ bool ButtonTheme::fallback(FbTk::ThemeItem_base &item) {
21 if (item.name().find(".borderColor") != std::string::npos) { 22 if (item.name().find(".borderColor") != std::string::npos) {
22 return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); 23 return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor");
23 } 24 }
24 25*/
25 if (item.name().find(".pressed") != std::string::npos) { 26 if (item.name().find(".pressed") != std::string::npos) {
26 // copy texture 27 // copy texture
27 *m_pressed_texture = texture(); 28 *m_pressed_texture = texture();