Author: shadzik
Date: Wed Aug 18 01:57:49 2010
New Revision: 11786

Modified:
   toys/kernelupdatenotifier/kernelupdatenotifier.cpp
Log:
- updated a bit for 4.5.0


Modified: toys/kernelupdatenotifier/kernelupdatenotifier.cpp
==============================================================================
--- toys/kernelupdatenotifier/kernelupdatenotifier.cpp  (original)
+++ toys/kernelupdatenotifier/kernelupdatenotifier.cpp  Wed Aug 18 01:57:49 2010
@@ -10,12 +10,15 @@
 #include <QApplication>
 #include <QObject>
 #include <QProcess>
+#include <QTextDocument>
+#include <QPixmap>
 
 #include <knotification.h>
 #include <klocale.h>
 #include <kdebug.h>
 #include <qdebug.h>
 #include <kworkspace/kworkspace.h>
+#include <KStandardDirs>
 
 #include "kernelupdatenotifier.h"
 
@@ -38,7 +41,7 @@
 
 void KernelUpdateNotifier::handleRebootActionClosed()
 {
-       kDebug("Don't Reboot");
+       kDebug() << "Don't Reboot";
        QApplication::quit();
 }
 
@@ -47,9 +50,9 @@
        KNotification *notify = new KNotification("KernelWasUpgraded", 0, 
KNotification::Persistent);
 
        QString text;
-       text =  i18n("The Kernel was upgraded to version:") + "<br/>";
-       text += "<b>" + version + "</b><br/>";
-       text += i18n("Please reboot the machine.");
+       text =  i18n("The Kernel was upgraded to version\n");
+       text += version + "\n";
+       text += i18n("Please reboot the machine.\n");
        notify->setText(text);
 
        QStringList actions;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to