aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTheme.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/IconbarTheme.cc
parentf32969d4e5a18bddd426b481824eb50902cba5de (diff)
downloadfluxbox-5337fc6640efbe911682568b6281850fd322e4bb.zip
fluxbox-5337fc6640efbe911682568b6281850fd322e4bb.tar.bz2
fix up theming of the toolbar
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r--src/IconbarTheme.cc10
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");