diff options
author | fluxgen <fluxgen> | 2003-08-11 14:52:10 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-11 14:52:10 (GMT) |
commit | 039ad9952527389b354ca9ef08fa52ae84006be2 (patch) | |
tree | ba85d207456dd329cfb06169bb510cdc3822f890 /src | |
parent | 9814dba88b12aae190a304ae3ab36b43400e4aad (diff) | |
download | fluxbox_lack-039ad9952527389b354ca9ef08fa52ae84006be2.zip fluxbox_lack-039ad9952527389b354ca9ef08fa52ae84006be2.tar.bz2 |
changed Theme load from char * to std string
Diffstat (limited to 'src')
-rw-r--r-- | src/FbCommands.cc | 8 |
1 files 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 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbCommands.cc,v 1.12 2003/07/19 13:51:24 rathnor Exp $ | 22 | // $Id: FbCommands.cc,v 1.13 2003/08/11 14:52:10 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbCommands.hh" | 24 | #include "FbCommands.hh" |
25 | #include "fluxbox.hh" | 25 | #include "fluxbox.hh" |
@@ -97,13 +97,9 @@ SetStyleCmd::SetStyleCmd(const std::string &filename):m_filename(filename) { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | void SetStyleCmd::execute() { | 99 | void SetStyleCmd::execute() { |
100 | #ifdef DEBUG | ||
101 | cerr<<__FILE__<<":Loading style: "<<m_filename<<endl; | ||
102 | #endif // DEBUG | ||
103 | Fluxbox::instance()->saveStyleFilename(m_filename.c_str()); | 100 | Fluxbox::instance()->saveStyleFilename(m_filename.c_str()); |
104 | Fluxbox::instance()->save_rc(); | 101 | Fluxbox::instance()->save_rc(); |
105 | FbTk::ThemeManager::instance().load(m_filename.c_str()); | 102 | FbTk::ThemeManager::instance().load(m_filename); |
106 | |||
107 | } | 103 | } |
108 | 104 | ||
109 | void ShowRootMenuCmd::execute() { | 105 | void ShowRootMenuCmd::execute() { |