all repos — fluxbox @ f6d07eacb3165bad2b1bcd8a04700a95611fd0a0

custom fork of the fluxbox windowmanager

removed strftimeformat resource, it is in clocktool now
fluxgen fluxgen
commit

f6d07eacb3165bad2b1bcd8a04700a95611fd0a0

parent

e9e60037b0ea3c9824b7bd59d1725095aeb292e7

1 files changed, 10 insertions(+), 16 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.213 2003/08/10 12:50:04 rathnor Exp $ +// $Id: Screen.cc,v 1.214 2003/08/11 16:27:23 fluxgen Exp $ #include "Screen.hh"

@@ -356,9 +356,6 @@ winFrameTheme().font().setAntialias(*resource.antialias);

menuTheme()->titleFont().setAntialias(*resource.antialias); menuTheme()->frameFont().setAntialias(*resource.antialias); - // load database for theme engine - FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename().c_str()); - // create geometry window

@@ -435,8 +432,8 @@

m_configmenu->update(); #ifdef SLIT - if (slit()) // this will load theme and reconfigure slit - FbTk::ThemeManager::instance().loadTheme(slit()->theme()); + // if (slit()) // this will load theme and reconfigure slit + // FbTk::ThemeManager::instance().loadTheme(slit()->theme()); #endif // SLIT // start with workspace 0

@@ -495,6 +492,9 @@

rm.unlock(); XFree(children); + + FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename().c_str()); + XFlush(disp); }

@@ -504,7 +504,6 @@ return;

if (geom_pixmap != None) imageControl().removeImage(geom_pixmap); - removeWorkspaceNames();

@@ -614,8 +613,8 @@ m_menutheme->titleFont().setAntialias(*resource.antialias);

m_menutheme->frameFont().setAntialias(*resource.antialias); // load theme - std::string theme_filename(Fluxbox::instance()->getStyleFilename()); - FbTk::ThemeManager::instance().load(theme_filename.c_str()); + // std::string theme_filename(Fluxbox::instance()->getStyleFilename()); + // FbTk::ThemeManager::instance().load(theme_filename.c_str()); I18n *i18n = I18n::instance();

@@ -697,7 +696,7 @@ for_each(m_icon_list.begin(),

m_icon_list.end(), mem_fun(&FluxboxWindow::reconfigure)); - imageControl().timeout(); + imageControl().cleanCache(); // notify objects that the screen is reconfigured m_reconfigure_sig.notify(); }

@@ -865,6 +864,7 @@ if (focused_client)

focused = focused_client->fbwindow(); #ifdef DEBUG + cerr<<__FILE__<<"("<<__FUNCTION__<<"): "<<focused_client<<endl; cerr<<__FILE__<<"("<<__FUNCTION__<<"): focused = "<<focused<<endl; #endif // DEBUG

@@ -1247,12 +1247,6 @@ for_each(m_strutlist.begin(),

m_strutlist.end(), MaxArea(*m_available_workspace_area.get())); } - -void BScreen::saveStrftimeFormat(const char *format) { - //make sure std::string don't get 0 string - resource.strftime_format = (format ? format : ""); -} - void BScreen::addWorkspaceName(const char *name) { m_workspace_names.push_back(name);