elementary / notifications

Gtk Notifications Server
https://elementary.io
GNU General Public License v3.0
38 stars 6 forks source link

Move dark theme handling to the Application class #166

Closed tintou closed 2 years ago

tintou commented 2 years ago

The settings is valid for the whole executable sono need to watch it per bubble.

jeremypw commented 2 years ago

@tintou This is resulting in a new terminal warning in the static construct clause:

(process:69210): GLib-GObject-CRITICAL **: 17:13:58.854: g_object_set: assertion 'G_IS_OBJECT (object)' failed

Looks like Gtk.Settings.get_default () is giving null in this scope.

jeremypw commented 2 years ago

Works OK if you put the code into the activate () function (like the demo Application).