diff options
author | fluxgen <fluxgen> | 2003-12-04 23:02:23 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-04 23:02:23 (GMT) |
commit | 95d565ba62df3bd98aa026a98b9d3d6d8d6a509e (patch) | |
tree | 0a4f59b0efec4d1f9cb911255b8a3d461860aa45 /src/ToolFactory.cc | |
parent | 29beda2d6be3eb6ccf849d7454a804fb966e7ccb (diff) | |
download | fluxbox_pavel-95d565ba62df3bd98aa026a98b9d3d6d8d6a509e.zip fluxbox_pavel-95d565ba62df3bd98aa026a98b9d3d6d8d6a509e.tar.bz2 |
toggle clock format via menu
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r-- | src/ToolFactory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index 24ab499..522c339 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ToolFactory.cc,v 1.1 2003/10/13 23:37:41 fluxgen Exp $ | 22 | // $Id: ToolFactory.cc,v 1.2 2003/12/04 23:02:23 fluxgen Exp $ |
23 | 23 | ||
24 | #include "ToolFactory.hh" | 24 | #include "ToolFactory.hh" |
25 | 25 | ||
@@ -100,7 +100,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow & | |||
100 | } else if (name == "systemtray") { | 100 | } else if (name == "systemtray") { |
101 | return new SystemTray(parent); | 101 | return new SystemTray(parent); |
102 | } else if (name == "clock") { | 102 | } else if (name == "clock") { |
103 | return new ClockTool(parent, m_clock_theme, screen()); | 103 | return new ClockTool(parent, m_clock_theme, screen(), tbar.menu()); |
104 | } else if (name == "nextworkspace" || | 104 | } else if (name == "nextworkspace" || |
105 | name == "prevworkspace") { | 105 | name == "prevworkspace") { |
106 | 106 | ||