summaryrefslogtreecommitdiff
path: root/src/RootCmdMenuItem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/RootCmdMenuItem.cc')
-rw-r--r--src/RootCmdMenuItem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RootCmdMenuItem.cc b/src/RootCmdMenuItem.cc
index 5cce10c..c3642ee 100644
--- a/src/RootCmdMenuItem.cc
+++ b/src/RootCmdMenuItem.cc
@@ -34,7 +34,7 @@ RootCmdMenuItem::RootCmdMenuItem(const FbTk::FbString &label,
34 m_filename(filename) { 34 m_filename(filename) {
35 35
36 std::string prog = cmd.empty() ? realProgramName("fbsetbg") : cmd; 36 std::string prog = cmd.empty() ? realProgramName("fbsetbg") : cmd;
37 FbTk::RefCount<FbTk::Command> 37 FbTk::RefCount<FbTk::Command<void> >
38 setwp_cmd(new FbCommands::ExecuteCmd(prog + " \"" + m_filename + "\"")); 38 setwp_cmd(new FbCommands::ExecuteCmd(prog + " \"" + m_filename + "\""));
39 setCommand(setwp_cmd); 39 setCommand(setwp_cmd);
40 setToggleItem(true); 40 setToggleItem(true);