Author: shadzik
Date: Fri Aug  7 18:30:01 2009
New Revision: 10458

Modified:
   toys/kernelupdatenotifier/kernelupdatenotifier.cpp
Log:
- add cancelation button to close the notification


Modified: toys/kernelupdatenotifier/kernelupdatenotifier.cpp
==============================================================================
--- toys/kernelupdatenotifier/kernelupdatenotifier.cpp  (original)
+++ toys/kernelupdatenotifier/kernelupdatenotifier.cpp  Fri Aug  7 18:30:01 2009
@@ -54,11 +54,13 @@
 
        QStringList actions;
        actions << i18n("Reboot Now!");
+       actions << i18n("Cancel");
        notify->setActions(actions);
 
        connect(notify, SIGNAL(activated(uint)),
                this, SLOT(handleRebootAction(uint)));
-       connect(notify, SIGNAL(closed()),
+       //connect(notify, SIGNAL(closed()),
+       connect(notify, SIGNAL(activated(uint)),
                this , SLOT(handleRebootActionClosed()));
 
        notify->sendEvent();
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to