aboutsummaryrefslogtreecommitdiff
path: root/src/settings-daemon.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-12 23:52:16 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 08:47:12 +0200
commit8bc357f3a447fa0bc748d9a3bc1238a8f903c15d (patch)
tree10c7ae33ccffbd4f2dfc1190a949abe13e20a58c /src/settings-daemon.vala
parent7b0bf0688b3c4504198e2bddc6f6c5b22b2f97dc (diff)
downloadarctica-greeter-8bc357f3a447fa0bc748d9a3bc1238a8f903c15d.tar.gz
arctica-greeter-8bc357f3a447fa0bc748d9a3bc1238a8f903c15d.tar.bz2
arctica-greeter-8bc357f3a447fa0bc748d9a3bc1238a8f903c15d.zip
Launch mate-notification-daemon in greeter session for showing system notifications.
Also delay Ayatana Indicators startup to assure that the notification-daemon is up and running (rather than any of the installed D-Bus activated org.freedesktop.Notification service). We want mate-notification-daemon.
Diffstat (limited to 'src/settings-daemon.vala')
-rw-r--r--src/settings-daemon.vala11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/settings-daemon.vala b/src/settings-daemon.vala
index 5fa9117..1d9ed33 100644
--- a/src/settings-daemon.vala
+++ b/src/settings-daemon.vala
@@ -213,7 +213,16 @@ public class SettingsDaemon : Object
*/
debug ("Launching Ayatana Indicators...");
var greeter = new ArcticaGreeter();
- greeter.start_indicators ();
+ Timeout.add (50, () =>
+ {
+ greeter.start_notification_daemon ();
+ return false;
+ });
+ Timeout.add (100, () =>
+ {
+ greeter.start_indicators ();
+ return false;
+ });
}
private void stop_settings_daemon ()