diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-11-24 19:57:11 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-11-26 17:14:49 +0100 |
commit | 5e6d1096072a1333ad648bf954fd9bde45447ced (patch) | |
tree | bde6afdf7d726b860d7c42fee3758845917941b6 | |
parent | cb52c8f77572481578e3219203c0b0a5c0695993 (diff) | |
download | gnome-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.c | 3 |
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 |