ratbagd: map the default theme to the gnome theme

We don't install the default SVGs anymore and all the effort for new mice goes
into the gnome theme.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2019-02-19 15:36:52 +10:00
committed by Benjamin Tissoires
parent 91dfc3477d
commit 29fb0f855f

View File

@@ -152,6 +152,9 @@ static int ratbagd_device_get_theme_svg_fd(sd_bus_message *m,
CHECK_CALL(sd_bus_message_read(m, "s", &theme));
if (streq(theme, "default"))
theme = "gnome";
svg = ratbag_device_get_svg_name(device->lib_device);
if (!svg) {
log_error("%s: failed to fetch SVG, using fallback\n",