Fix input theming with Adwaita-dark also
This commit is contained in:
parent
fc2fe7fd28
commit
76430228e1
|
@ -296,7 +296,7 @@ create_input_style (GtkStyle *style)
|
||||||
/* gnome-themes-standard 3.20 relies on images to do theming
|
/* gnome-themes-standard 3.20 relies on images to do theming
|
||||||
* so we have to override that. */
|
* so we have to override that. */
|
||||||
g_object_get (settings, "gtk-theme-name", &theme_name, NULL);
|
g_object_get (settings, "gtk-theme-name", &theme_name, NULL);
|
||||||
if (!g_strcmp0 (theme_name, "Adwaita"))
|
if (g_str_has_prefix (theme_name, "Adwaita"))
|
||||||
gtk_rc_parse_string (adwaita_workaround_rc);
|
gtk_rc_parse_string (adwaita_workaround_rc);
|
||||||
g_free (theme_name);
|
g_free (theme_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue