diff options
Diffstat (limited to 'src/ToolbarTheme.cc')
-rw-r--r-- | src/ToolbarTheme.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ToolbarTheme.cc b/src/ToolbarTheme.cc index 6b6013f..0c3e3ea 100644 --- a/src/ToolbarTheme.cc +++ b/src/ToolbarTheme.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ToolbarTheme.cc,v 1.15 2004/05/24 15:30:52 rathnor Exp $ | 22 | // $Id: ToolbarTheme.cc,v 1.16 2004/08/25 17:16:40 rathnor Exp $ |
23 | 23 | ||
24 | #include "ToolbarTheme.hh" | 24 | #include "ToolbarTheme.hh" |
25 | 25 | ||
@@ -65,9 +65,15 @@ ToolbarTheme::~ToolbarTheme() { | |||
65 | } | 65 | } |
66 | 66 | ||
67 | bool ToolbarTheme::fallback(FbTk::ThemeItem_base &item) { | 67 | bool ToolbarTheme::fallback(FbTk::ThemeItem_base &item) { |
68 | if (item.name() == "toolbar.alpha") { | 68 | if (item.name().find(".borderWidth") != std::string::npos) { |
69 | return FbTk::ThemeManager::instance().loadItem(item, "borderWidth", "BorderWidth"); | ||
70 | } else if (item.name().find(".borderColor") != std::string::npos) { | ||
71 | return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); | ||
72 | } else if (item.name() == "toolbar.alpha") { | ||
69 | *m_alpha = 255; | 73 | *m_alpha = 255; |
70 | return true; | 74 | return true; |
75 | } else if (item.name() == "toolbar.bevelWidth") { | ||
76 | return FbTk::ThemeManager::instance().loadItem(item, "bevelWidth", "BevelWidth"); | ||
71 | } | 77 | } |
72 | return false; | 78 | return false; |
73 | } | 79 | } |