diff options
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r-- | src/IconbarTheme.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/IconbarTheme.cc b/src/IconbarTheme.cc index 9710dfc..ec46840 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.9 2004/04/26 15:04:36 rathnor Exp $ | 23 | // $Id: IconbarTheme.cc,v 1.10 2004/05/24 15:30:52 rathnor Exp $ |
24 | 24 | ||
25 | #include "IconbarTheme.hh" | 25 | #include "IconbarTheme.hh" |
26 | #include "FbTk/App.hh" | 26 | #include "FbTk/App.hh" |
@@ -99,7 +99,10 @@ bool IconbarTheme::fallback(FbTk::ThemeItem_base &item) { | |||
99 | } else if (item.name() == m_name + ".unfocused.textColor") { | 99 | } else if (item.name() == m_name + ".unfocused.textColor") { |
100 | return tm.loadItem(item, "window.label.unfocus.textColor", "Window.Label.Unfocus.TextColor"); | 100 | return tm.loadItem(item, "window.label.unfocus.textColor", "Window.Label.Unfocus.TextColor"); |
101 | } else if (item.name() == m_name + ".alpha") { | 101 | } else if (item.name() == m_name + ".alpha") { |
102 | return tm.loadItem(item, "toolbar.alpha", "Toolbar.Alpha"); | 102 | if (!tm.loadItem(item, "toolbar.alpha", "Toolbar.Alpha")) { |
103 | *m_alpha = 255; | ||
104 | } | ||
105 | return true; | ||
103 | } | 106 | } |
104 | 107 | ||
105 | return false; | 108 | return false; |