From 039ad9952527389b354ca9ef08fa52ae84006be2 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 11 Aug 2003 14:52:10 +0000 Subject: changed Theme load from char * to std string --- src/FbCommands.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 3529ebf..f8df2da 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbCommands.cc,v 1.12 2003/07/19 13:51:24 rathnor Exp $ +// $Id: FbCommands.cc,v 1.13 2003/08/11 14:52:10 fluxgen Exp $ #include "FbCommands.hh" #include "fluxbox.hh" @@ -97,13 +97,9 @@ SetStyleCmd::SetStyleCmd(const std::string &filename):m_filename(filename) { } void SetStyleCmd::execute() { -#ifdef DEBUG - cerr<<__FILE__<<":Loading style: "<saveStyleFilename(m_filename.c_str()); Fluxbox::instance()->save_rc(); - FbTk::ThemeManager::instance().load(m_filename.c_str()); - + FbTk::ThemeManager::instance().load(m_filename); } void ShowRootMenuCmd::execute() { -- cgit v0.11.2