diff options
author | Daniel Boles <dboles@src.gnome.org> | 2017-02-26 21:18:55 +0000 |
---|---|---|
committer | Daniel Boles <dboles@src.gnome.org> | 2017-02-26 22:12:03 +0000 |
commit | 31b30bc1a0cba59cdff2896240ee764e3cdc555f (patch) | |
tree | 215ce05c60e5901985a5ce4e1ca52fb05b0d03a7 | |
parent | 17314900d88ef08227d14413f96781341796705f (diff) | |
download | nautilus-31b30bc1a0cba59cdff2896240ee764e3cdc555f.tar.gz |
application: Load Adwaita.css for Adwaita-dark
"Adwaita-dark" is supplied by gnome-themes-standard and has a distinct
name to theme GTK+ 2. For GTK+ 3, this theme just imports gtk-contained-
dark.css from the library, so it's _as if_ Adwaita was the system theme.
But Nautilus only applied its Adwaita-specific CSS if the system theme
name was exactly "Adwaita". So using "Adwaita-dark" meant we got Adwaita
but without Nautilus' additions to it, even though they are applicable.
Fix this by also loading Adwaita.css if the theme name is "Adwaita-dark"
https://bugzilla.gnome.org/show_bug.cgi?id=779266
-rw-r--r-- | src/nautilus-application.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-application.c b/src/nautilus-application.c index f11dfe62d..567fbe4f7 100644 --- a/src/nautilus-application.c +++ b/src/nautilus-application.c @@ -1068,7 +1068,7 @@ theme_changed (GtkSettings *settings) screen = gdk_screen_get_default (); /* CSS that themes can override */ - if (g_str_equal (theme, "Adwaita")) + if (g_str_equal (theme, "Adwaita") || g_str_equal (theme, "Adwaita-dark")) { if (provider == NULL) { |