aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-06-08 13:47:30 (GMT)
committerrathnor <rathnor>2003-06-08 13:47:30 (GMT)
commit93b2f8921c70e2cf5f2f2c3cf79943de54b6709b (patch)
tree9291b92cf9feb4f7647cdc8a88fd9af44c050450 /src/Screen.cc
parentefe8bf4acd913a48ba08c4fa390297da27d17590 (diff)
downloadfluxbox-93b2f8921c70e2cf5f2f2c3cf79943de54b6709b.zip
fluxbox-93b2f8921c70e2cf5f2f2c3cf79943de54b6709b.tar.bz2
fix restart in menu to accept and use an argument
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 1182dba..3ecb077 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.178 2003/05/24 13:13:22 rathnor Exp $ 25// $Id: Screen.cc,v 1.179 2003/06/08 13:47:30 rathnor Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -1891,7 +1891,7 @@ void BScreen::initMenu() {
1891 } 1891 }
1892 1892
1893 if (defaultMenu) { 1893 if (defaultMenu) {
1894 FbTk::RefCount<FbTk::Command> restart_fb(new FbCommands::RestartFluxboxCmd()); 1894 FbTk::RefCount<FbTk::Command> restart_fb(new FbCommands::RestartFluxboxCmd(""));
1895 FbTk::RefCount<FbTk::Command> exit_fb(new FbCommands::ExitFluxboxCmd()); 1895 FbTk::RefCount<FbTk::Command> exit_fb(new FbCommands::ExitFluxboxCmd());
1896 FbTk::RefCount<FbTk::Command> execute_xterm(new FbCommands::ExecuteCmd("xterm", screenNumber())); 1896 FbTk::RefCount<FbTk::Command> execute_xterm(new FbCommands::ExecuteCmd("xterm", screenNumber()));
1897 m_rootmenu->setInternalMenu(); 1897 m_rootmenu->setInternalMenu();
@@ -2098,7 +2098,7 @@ bool BScreen::parseMenuFile(ifstream &file, FbTk::Menu &menu, int &row) {
2098 "no menu label defined\n")); 2098 "no menu label defined\n"));
2099 cerr<<"Row: "<<row<<endl; 2099 cerr<<"Row: "<<row<<endl;
2100 } else { 2100 } else {
2101 FbTk::RefCount<FbTk::Command> restart_fb(new FbCommands::RestartFluxboxCmd()); 2101 FbTk::RefCount<FbTk::Command> restart_fb(new FbCommands::RestartFluxboxCmd(str_cmd));
2102 menu.insert(str_label.c_str(), restart_fb); 2102 menu.insert(str_label.c_str(), restart_fb);
2103 } 2103 }
2104 } // end of restart 2104 } // end of restart