aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTheme.cc
diff options
context:
space:
mode:
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");