[gnome-bluetooth] lib: Fix unknown device types not having icons



commit 5e6d1096072a1333ad648bf954fd9bde45447ced
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 24 19:57:11 2017 +0100

    lib: Fix unknown device types not having icons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790802

 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 200bab3..9028b11 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]