diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-10 14:10:39 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-10 17:44:43 (GMT) |
commit | 1ecc9ef56e74e6eea3d6cecb77a76562b8e103d7 (patch) | |
tree | 5e6334754b5e6cad6d51eb61d60e1ac0dda675ff /src/FbCommands.cc | |
parent | a579f3b278e59ea3dcd1002bedcdb96e0bb89cb6 (diff) | |
download | fluxbox_pavel-1ecc9ef56e74e6eea3d6cecb77a76562b8e103d7.zip fluxbox_pavel-1ecc9ef56e74e6eea3d6cecb77a76562b8e103d7.tar.bz2 |
Attach a modifiedSig handler to the session.keyFile resource
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index c74cce6..4db6af7 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -448,7 +448,7 @@ BindKeyCmd::BindKeyCmd(const string &keybind):m_keybind(keybind) { } | |||
448 | void BindKeyCmd::execute() { | 448 | void BindKeyCmd::execute() { |
449 | if (Fluxbox::instance()->keys() != 0) { | 449 | if (Fluxbox::instance()->keys() != 0) { |
450 | if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { | 450 | if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { |
451 | ofstream ofile(Fluxbox::instance()->keys()->filename().c_str(), ios::app); | 451 | ofstream ofile(Fluxbox::instance()->getKeysResource()->c_str(), ios::app); |
452 | if (!ofile) | 452 | if (!ofile) |
453 | return; | 453 | return; |
454 | ofile<<m_keybind<<endl; | 454 | ofile<<m_keybind<<endl; |