diff options
Diffstat (limited to 'src/ToolTheme.cc')
-rw-r--r-- | src/ToolTheme.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ToolTheme.cc b/src/ToolTheme.cc index f7dd118..fdcb592 100644 --- a/src/ToolTheme.cc +++ b/src/ToolTheme.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: ToolTheme.cc,v 1.5 2004/01/13 14:41:32 rathnor Exp $ | 23 | // $Id: ToolTheme.cc,v 1.6 2004/05/24 15:30:52 rathnor Exp $ |
24 | 24 | ||
25 | #include "ToolTheme.hh" | 25 | #include "ToolTheme.hh" |
26 | 26 | ||
@@ -48,9 +48,11 @@ bool ToolTheme::fallback(FbTk::ThemeItem_base &item) { | |||
48 | "toolbar.justify", | 48 | "toolbar.justify", |
49 | "Toolbar.Justify"); | 49 | "Toolbar.Justify"); |
50 | } else if (item.name().find(".alpha") != std::string::npos) { | 50 | } else if (item.name().find(".alpha") != std::string::npos) { |
51 | return FbTk::ThemeManager::instance().loadItem(item, | 51 | if (!FbTk::ThemeManager::instance().loadItem(item, |
52 | "toolbar.alpha", | 52 | "toolbar.alpha", |
53 | "Toolbar.Alpha"); | 53 | "Toolbar.Alpha")) |
54 | *m_alpha = 255; | ||
55 | return true; | ||
54 | } | 56 | } |
55 | 57 | ||
56 | return false; | 58 | return false; |