[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kalarmd
From: Dirk Mueller <mueller () kde ! org>
Date: 2004-01-18 20:42:43
Message-ID: 20040118204243.953B7906D () office ! kde ! org
[Download RAW message or body]
CVS commit by mueller:
don't register GUI so that it can be swapped out completely if not needed.
Reviewed by Cornelius
M +4 -3 alarmapp.cpp 1.14
M +4 -2 main.cpp 1.12
--- kdepim/kalarmd/alarmapp.cpp #1.13:1.14
@@ -39,7 +39,8 @@
AlarmApp::AlarmApp() :
- KUniqueApplication(/*false,false*/),
+ KUniqueApplication(false,false),
mAd(0L)
{
+ disableSessionManagement();
}
@@ -52,5 +53,5 @@ int AlarmApp::newInstance()
kdDebug(5900) << "kalarmd:AlarmApp::newInstance()" << endl;
- KStartupInfo::appStarted();
+ //KStartupInfo::appStarted();
/* Prevent the application being restored automatically by the session manager
--- kdepim/kalarmd/main.cpp #1.11:1.12
@@ -35,8 +35,9 @@
#include <kcmdlineargs.h>
#include <kaboutdata.h>
+#include <kstartupinfo.h>
#include "alarmapp.h"
-static const char* kalarmdVersion = "3.2";
+static const char kalarmdVersion[] = "3.2";
static const KCmdLineOptions options[] =
{
@@ -61,4 +62,5 @@ int main(int argc, char **argv)
KCmdLineArgs::addCmdLineOptions(options);
KUniqueApplication::addCmdLineOptions();
+ KStartupInfo::disableAutoAppStartedSending();
if (!AlarmApp::start())
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic