From ba604ac821b7c1c89d10b0e8c9f85fde948856ef Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Fri, 2 May 2008 05:47:30 -0700 Subject: little hack to allow arbitrary commands in the toolbar --- src/ToolFactory.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index e6d633e..51692ad 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.cc @@ -120,8 +120,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow & dynamic_cast(*m_button_theme), screen().imageControl()); - } else if (name == "nextwindow" || - name == "prevwindow") { + } else { FbTk::RefCount > cmd(FbTk::CommandParser::instance().parse(name)); if (*cmd == 0) // we need a command -- cgit v0.11.2