public ItemIcons(Widget w) { // create a cache for item icons iconCache = new IconCache(w); bool useCustomMimeIcons = !string.IsNullOrEmpty(App.Settings.CustomThemeName); // create a cache for mime icons and add default and fallback icons // for platforms where mime icons are not implemented mimeIconCache = new MimeIconCache(w, useCustomMimeIcons, DEFAULT_ICON, new Dictionary<string, Icons.Icon>() { { "x-directory/normal", Icon.Stock_Directory } }); }
public ItemIcons(Widget w) { // create a cache for item icons iconCache = new IconCache(w); bool useCustomMimeIcons = !string.IsNullOrEmpty(App.Settings.CustomThemeName); // create a cache for mime icons and add default and fallback icons // for platforms where mime icons are not implemented mimeIconCache = new MimeIconCache(w, useCustomMimeIcons, DEFAULT_ICON, new Dictionary <string, Icons.Icon>() { { "x-directory/normal", Icon.Stock_Directory } }); }