summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-11-24 19:57:11 +0100
committerBastien Nocera <hadess@hadess.net>2017-11-26 17:14:49 +0100
commit5e6d1096072a1333ad648bf954fd9bde45447ced (patch)
treebde6afdf7d726b860d7c42fee3758845917941b6
parentcb52c8f77572481578e3219203c0b0a5c0695993 (diff)
downloadgnome-bluetooth-5e6d1096072a1333ad648bf954fd9bde45447ced.tar.gz
lib: Fix unknown device types not having icons
https://bugzilla.gnome.org/show_bug.cgi?id=790802
-rw-r--r--lib/bluetooth-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 200bab3e..9028b114 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -301,6 +301,9 @@ device_resolve_type_and_icon (Device1 *device, BluetoothType *type, const char *
if (!*icon)
*icon = device1_get_icon (device);
+
+ if (!*icon)
+ *icon = "bluetooth";
}
static void