Closed Marukesu closed 2 years ago
@jeremypw i think this also supress the error, and are more inline with how GLib.Application/Gtk.Application works.
@jeremypw i think this also supress the error, and are more inline with how GLib.Application/Gtk.Application works.
I'll bow to your greater knowledge :smile:
set the
ApplicationFlags.IS_SERVICE
flag so that glib don't try to call activate when running from terminal.move gtk and canberra configuration to
GLib.Application.startup ()
, and useGLib.Application.application_id
andGLib.Application.resource_base_path
so we reduce places with an hardcoded app id.do all the dbus handing on
GLib.Application.dbus_register
, and only hold when we aquire theorg.freedesktop.Notifications
name.