GNOME Bugzilla – Bug 748985
GtkSettings: Expose GTK_THEME to external users
Last modified: 2015-07-26 05:07:09 UTC
Currently the GTK_THEME environment variable is used to load the theme, however it is not actually used to implement the respective GtkSettings properties. This causes external users who load additional CSS, i.e. gedit and gnome-builder, to not load it or load incorrect CSS.
Created attachment 302949 [details] [review] GtkSettings: Expose GTK_THEME to external users Tested with gnome-builder, it now correctly picks up the environment variable. However, it still doesn't know the correct theme if the originally specified theme is invalid...
Nice. Small leak when reassigning theme_name. This would be really nice to have for Builder, when running on systems with interesting theming issues (like Ubuntu).
Created attachment 302953 [details] [review] GtkSettings: Expose GTK_THEME to external users v2 (In reply to Christian Hergert from comment #2) > Nice. Small leak when reassigning theme_name. > Fixed. > This would be really nice to have for Builder, when running on systems with > interesting theming issues (like Ubuntu).
GTK_THEME is purely a debug tool to override the theme settings, not an alternative way to specify app-specifc settings. I don't want to entangle regular settings with debug tools.
I guess this would help jhbuild as well?