summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/MenuletController.cpp')
-rw-r--r--Slimber/MenuletController.cpp2
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();
}