aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-10 14:10:39 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:57:21 (GMT)
commitec8876890c0e03c5775906c8095db3b6f76cbdce (patch)
treea0c82e507ae4209c179db8513a0bba13fe19e769 /src/FbCommands.cc
parent22713a05e1f0b25cdf3a34f6cf7eb1f3c4250ffe (diff)
downloadfluxbox_paul-ec8876890c0e03c5775906c8095db3b6f76cbdce.zip
fluxbox_paul-ec8876890c0e03c5775906c8095db3b6f76cbdce.tar.bz2
Attach a modifiedSig handler to the session.keyFile resource
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index d52084e..b7bd309 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -460,7 +460,7 @@ BindKeyCmd::BindKeyCmd(const string &keybind):m_keybind(keybind) { }
460void BindKeyCmd::execute() { 460void BindKeyCmd::execute() {
461 if (Fluxbox::instance()->keys() != 0) { 461 if (Fluxbox::instance()->keys() != 0) {
462 if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { 462 if (Fluxbox::instance()->keys()->addBinding(m_keybind)) {
463 ofstream ofile(Fluxbox::instance()->keys()->filename().c_str(), ios::app); 463 ofstream ofile(Fluxbox::instance()->getKeysResource()->c_str(), ios::app);
464 if (!ofile) 464 if (!ofile)
465 return; 465 return;
466 ofile<<m_keybind<<endl; 466 ofile<<m_keybind<<endl;