diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-02 12:48:16 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-02 12:50:02 (GMT) |
commit | 04d48741240c61d75933d24084915a98d257d444 (patch) | |
tree | f8c23a2ff7e0d60174d520c6dbeb40007632dac7 /Slimber/MenuletController.cpp | |
parent | 2a3da91e474f645fe8d83cb2809dcc4b9bfe6a32 (diff) | |
download | swift-contrib-04d48741240c61d75933d24084915a98d257d444.zip swift-contrib-04d48741240c61d75933d24084915a98d257d444.tar.bz2 |
Slimber: Add restart menu.
Diffstat (limited to 'Slimber/MenuletController.cpp')
-rw-r--r-- | Slimber/MenuletController.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Slimber/MenuletController.cpp b/Slimber/MenuletController.cpp index ec11785..1532459 100644 --- a/Slimber/MenuletController.cpp +++ b/Slimber/MenuletController.cpp @@ -10,6 +10,7 @@ using namespace Swift; MenuletController::MenuletController(Menulet* menulet) : menulet(menulet), xmppStatus(Offline) { + menulet->onRestartClicked.connect(boost::ref(onRestartRequested)); update(); } @@ -45,5 +46,6 @@ void MenuletController::update() { menulet->addSeparator(); menulet->addAboutItem(); menulet->addSeparator(); + menulet->addRestartItem(); menulet->addExitItem(); } |