From d870f44fa47d26ae9b2c3a70da94b1ac7a6631af Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 24 Jun 2003 13:56:01 +0000 Subject: fixed some slit stuff --- src/Screen.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Screen.cc b/src/Screen.cc index dc84046..c5dbe8e 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.191 2003/06/23 14:33:43 fluxgen Exp $ +// $Id: Screen.cc,v 1.192 2003/06/24 13:56:01 fluxgen Exp $ #include "Screen.hh" @@ -55,6 +55,7 @@ #include "FbWinFrame.hh" #include "FbWindow.hh" #include "Strut.hh" +#include "SlitTheme.hh" //use GNU extensions #ifndef _GNU_SOURCE @@ -488,9 +489,10 @@ BScreen::BScreen(FbTk::ResourceManager &rm, m_configmenu->update(); #ifdef SLIT - if (slit()) - slit()->reconfigure(); + if (slit()) // this will load theme and reconfigure slit + FbTk::ThemeManager::instance().loadTheme(slit()->theme()); #endif // SLIT + if (toolbar()) toolbar()->reconfigure(); -- cgit v0.11.2