summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/Makefile.am2
-rw-r--r--src/daemon/daemon.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 54aff33..61aa507 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -14,7 +14,7 @@ INCLUDES = \
$(QT_INCLUDES) \
$(KDE_INCLUDES)
-libexec_PROGRAMS = \
+bin_PROGRAMS = \
notification-daemon-tde
notification_daemon_tde_SOURCES = \
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index a0b1454..3af9563 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -358,6 +358,7 @@ main(int argc, char **argv)
TQTimer *gtkEventProcessor = new TQTimer( &app );
TQObject::connect( gtkEventProcessor, SIGNAL(timeout()), &nc, SLOT(handleGTKMain()) );
gtkEventProcessor->start( 100, FALSE ); // Every 0.1 seconds poll gtk for DBUS events
+ app.disableSessionManagement();
app.exec();
return 0;
@@ -366,4 +367,4 @@ main(int argc, char **argv)
void real_handleGTKMain() {
while (gtk_events_pending())
gtk_main_iteration();
-} \ No newline at end of file
+}