summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorcajuncooks <cajuncook@gmail.com>2019-02-25 10:03:56 -0700
committerPatrick <tingping@tingping.se>2019-02-25 19:13:24 -0500
commitc1091c38b83ea4267c034817e6b2560e2c54daa3 (patch)
tree205f775f020a7e159e8cdb832da5e8c79bf8e6fd /src/fe-gtk
parent804f959a1d0c9bfe88166a7541af4371460b468b (diff)
Extend input box GTK theme workaround to include Yaru
Fixes #2305
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 9d068a1b..ee3e847c 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -293,10 +293,10 @@ create_input_style (GtkStyle *style)
 		GtkSettings *settings = gtk_settings_get_default ();
 		char *theme_name;
 
-		/* 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. */
 		g_object_get (settings, "gtk-theme-name", &theme_name, NULL);
-		if (g_str_has_prefix (theme_name, "Adwaita"))
+		if (g_str_has_prefix (theme_name, "Adwaita") || g_str_has_prefix (theme_name, "Yaru"))
 			gtk_rc_parse_string (adwaita_workaround_rc);
 		g_free (theme_name);