GNOME Bugzilla – Bug 745963
app: Avoid connecting to any "notify" signal for theme changes
Last modified: 2015-03-10 13:46:37 UTC
12:36 < kalev> mclasen: is there a way to get an app to reload its css theme when the gtk theme changes? 12:38 < pbor> kalev: https://git.gnome.org/browse/gedit/tree/gedit/gedit-app.c#n406 12:39 < pbor> but now that I look at it I do not like that connection to any "notify" :( 12:39 < mclasen> kalev: listen for theme changes, and reload it ? 12:39 < kalev> pbor: thanks! 12:40 < pbor> I guess gtksettings changes rarely enough that it is not so bad
Created attachment 298983 [details] [review] app: Avoid connecting to any "notify" signal for theme changes Instead, connect to notify::gtk-theme-name.
Review of attachment 298983 [details] [review]: looks good
Attachment 298983 [details] pushed as 1188740 - app: Avoid connecting to any "notify" signal for theme changes