Add autostart files to kdbusnotifier

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdbusnotification@1259343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 49eb1758fe
commit a062a26f39

@ -2,3 +2,10 @@
SUBDIRS = \
daemon
# this is where the desktop file will go
xdg_apps_DATA = kdbusnotification.desktop
# and for autostart
autostartdir = $(prefix)/share/autostart
autostart_DATA = kdbusnotification-autostart.desktop

@ -14,7 +14,7 @@ INCLUDES = \
$(QT_INCLUDES) \
$(KDE_INCLUDES)
libexec_PROGRAMS = \
bin_PROGRAMS = \
notification-daemon-tde
notification_daemon_tde_SOURCES = \

@ -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();
}
}

@ -0,0 +1,13 @@
[Desktop Entry]
Encoding=UTF-8
Name=kdbusnotification
Name[xx]=xxkdbusnotificationxx
Exec=notification-daemon-tde
Icon=bell
Type=Application
Comment=DBUS notification service daemon
X-KDE-autostart-phase=1
X-KDE-StartupNotify=false
X-KDE-UniqueApplet=true
Categories=System;

@ -0,0 +1,13 @@
[Desktop Entry]
Encoding=UTF-8
Name=kdbusnotification
Name[xx]=xxkdbusnotificationxx
Exec=notification-daemon-tde
Icon=bell
Type=Application
Comment=DBUS notification service daemon
X-KDE-autostart-phase=1
X-KDE-StartupNotify=false
X-KDE-UniqueApplet=true
Categories=System;
Loading…
Cancel
Save