From 4bbdd0923b44e3b3b47c1f7decc0f99f9a2ae77a Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 29 Aug 2003 23:52:14 +0000 Subject: fixes slit border color fallbakc --- src/SlitTheme.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/SlitTheme.cc b/src/SlitTheme.cc index 6a882be..a745ec4 100644 --- a/src/SlitTheme.cc +++ b/src/SlitTheme.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: SlitTheme.cc,v 1.1 2003/08/29 10:30:08 fluxgen Exp $ +// $Id: SlitTheme.cc,v 1.2 2003/08/29 23:52:14 fluxgen Exp $ #include "SlitTheme.hh" @@ -53,6 +53,10 @@ bool SlitTheme::fallback(FbTk::ThemeItem_base &item) { return FbTk::ThemeManager::instance().loadItem(item, "borderWidth", "BorderWidth"); + } else if (item.name().find(".borderColor") != std::string::npos) { + return FbTk::ThemeManager::instance().loadItem(item, + "borderColor", + "BorderColor"); } return false; -- cgit v0.11.2