diff options
author | fluxgen <fluxgen> | 2004-07-18 18:46:03 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-07-18 18:46:03 (GMT) |
commit | ac1314c3604691632a2388ff2758b51103445852 (patch) | |
tree | 58733762f3b4318f5a22e9fbcbf70c971c2f37e7 /src | |
parent | 57eb4097500f227b382241a9b02f008336730ea7 (diff) | |
download | fluxbox_pavel-ac1314c3604691632a2388ff2758b51103445852.zip fluxbox_pavel-ac1314c3604691632a2388ff2758b51103445852.tar.bz2 |
fixed fallback for pressed texture
Diffstat (limited to 'src')
-rw-r--r-- | src/ButtonTheme.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ButtonTheme.cc b/src/ButtonTheme.cc index 225bbb7..47177cd 100644 --- a/src/ButtonTheme.cc +++ b/src/ButtonTheme.cc | |||
@@ -22,6 +22,12 @@ bool ButtonTheme::fallback(FbTk::ThemeItem_base &item) { | |||
22 | return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); | 22 | return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); |
23 | } | 23 | } |
24 | 24 | ||
25 | if (item.name().find(".pressed") != std::string::npos) { | ||
26 | // copy texture | ||
27 | *m_pressed_texture = texture(); | ||
28 | return true; | ||
29 | } | ||
30 | |||
25 | return ToolTheme::fallback(item); | 31 | return ToolTheme::fallback(item); |
26 | } | 32 | } |
27 | 33 | ||