diff options
author | rathnor <rathnor> | 2004-08-25 17:16:40 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-25 17:16:40 (GMT) |
commit | 5337fc6640efbe911682568b6281850fd322e4bb (patch) | |
tree | b2a722b45550cee7dc612b113ddebd9395841ab7 /src/IconbarTheme.cc | |
parent | f32969d4e5a18bddd426b481824eb50902cba5de (diff) | |
download | fluxbox-5337fc6640efbe911682568b6281850fd322e4bb.zip fluxbox-5337fc6640efbe911682568b6281850fd322e4bb.tar.bz2 |
fix up theming of the toolbar
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r-- | src/IconbarTheme.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/IconbarTheme.cc b/src/IconbarTheme.cc index ec46840..ed34b14 100644 --- a/src/IconbarTheme.cc +++ b/src/IconbarTheme.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: IconbarTheme.cc,v 1.10 2004/05/24 15:30:52 rathnor Exp $ | 23 | // $Id: IconbarTheme.cc,v 1.11 2004/08/25 17:16:40 rathnor Exp $ |
24 | 24 | ||
25 | #include "IconbarTheme.hh" | 25 | #include "IconbarTheme.hh" |
26 | #include "FbTk/App.hh" | 26 | #include "FbTk/App.hh" |
@@ -75,14 +75,12 @@ bool IconbarTheme::fallback(FbTk::ThemeItem_base &item) { | |||
75 | tm.loadItem(item, "toolbar.windowLabel", "toolbar.windowLabel") || | 75 | tm.loadItem(item, "toolbar.windowLabel", "toolbar.windowLabel") || |
76 | tm.loadItem(item, "toolbar", "toolbar") | 76 | tm.loadItem(item, "toolbar", "toolbar") |
77 | ); | 77 | ); |
78 | } else if (item.name() == m_name + ".borderWidth" || | 78 | } else if (item.name() == m_name + ".focused.borderWidth" || |
79 | item.name() == m_name + ".focused.borderWidth" || | ||
80 | item.name() == m_name + ".unfocused.borderWidth") | 79 | item.name() == m_name + ".unfocused.borderWidth") |
81 | 80 | // don't fallback for base border, for theme backwards compatibility | |
82 | return tm.loadItem(item, "borderWidth", "BorderWidth"); | 81 | return tm.loadItem(item, "borderWidth", "BorderWidth"); |
83 | 82 | ||
84 | else if (item.name() == m_name + ".borderColor" || | 83 | else if (item.name() == m_name + ".focused.borderColor" || |
85 | item.name() == m_name + ".focused.borderColor" || | ||
86 | item.name() == m_name + ".unfocused.borderColor") | 84 | item.name() == m_name + ".unfocused.borderColor") |
87 | 85 | ||
88 | return tm.loadItem(item, "borderColor", "BorderColor"); | 86 | return tm.loadItem(item, "borderColor", "BorderColor"); |