diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-18 00:33:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-18 00:33:57 +0000 |
commit | a062a26f39117d05c0d93fe5537ff0cfc40fa86f (patch) | |
tree | 197d8faff03c1bd7f2851e7fbc7d75dcfa270d9d /src/daemon/daemon.cpp | |
parent | 49eb1758fe84a5d55f99a62703a1a21f4f4b2566 (diff) | |
download | kdbusnotification-a062a26f39117d05c0d93fe5537ff0cfc40fa86f.tar.gz kdbusnotification-a062a26f39117d05c0d93fe5537ff0cfc40fa86f.zip |
Add autostart files to kdbusnotifier
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdbusnotification@1259343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/daemon/daemon.cpp')
-rw-r--r-- | src/daemon/daemon.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 +} |