[shotwell] camera: Use symbolic icons



commit ee4573005c7cf6e9039ef28451d3e7a156b1659d
Author: Jens Georg <mail jensge org>
Date:   Fri Jul 6 00:20:51 2018 +0200

    camera: Use symbolic icons

 src/camera/CameraTable.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/camera/CameraTable.vala b/src/camera/CameraTable.vala
index b059d64d..5f888acd 100644
--- a/src/camera/CameraTable.vala
+++ b/src/camera/CameraTable.vala
@@ -138,7 +138,7 @@ public class CameraTable {
     private string? get_icon_for_uuid(string uuid) {
         foreach (Volume volume in volume_monitor.get_volumes()) {
             if (volume.get_identifier(VolumeIdentifier.UUID) == uuid) {
-                return volume.get_icon().to_string();
+                return volume.get_symbolic_icon().to_string();
             }
         }
         return null;
@@ -254,7 +254,7 @@ public class CameraTable {
                     var volume = mount.get_volume();
                     // Translators: First %s is the name of camera as gotten from GPhoto, second is the 
GVolume name, e.g. Mass storage camera (510MB volume)
                     display_name = _("%s (%s)").printf (name, volume.get_name ());
-                    icon = volume.get_icon().to_string();
+                    icon = volume.get_symbolic_icon().to_string();
 
                 } catch (Error e) { }
             }


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