224
224
public string IconFromGIcon (GLib.Icon icon)
226
227
if (icon is ThemedIcon) {
227
228
ThemedIcon themeIcon = new ThemedIcon (icon.Handle);
230
230
if (themeIcon.Names.Any ())
232
234
} else if (icon is FileIcon) {
233
235
// in some cases, devices provide their own icon. This will use the device icon.
234
236
FileIcon iconFile = new FileIcon (icon.Handle);