aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTheme.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-05-24 15:30:52 (GMT)
committerrathnor <rathnor>2004-05-24 15:30:52 (GMT)
commit073065ac56b388db1169108d44f37d32f1d19c67 (patch)
tree3f69de9404adb70507829493771d6fde0bffa017 /src/IconbarTheme.cc
parentca307efe3e719fbc3917ae54af4e2243ae0e4044 (diff)
downloadfluxbox_pavel-073065ac56b388db1169108d44f37d32f1d19c67.zip
fluxbox_pavel-073065ac56b388db1169108d44f37d32f1d19c67.tar.bz2
more fixing up of alpha zero-relatd problems - particularly fallback to
255, not zero for alpha items
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r--src/IconbarTheme.cc7
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;