public object GetBookmarkImage(object host)
        {
            Host h = (Host)host;

            return(IconCache.GetProtocolDisk(h.getProtocol(),
                                             PreferencesFactory.get().getInteger("bookmark.icon.size")));
        }
Esempio n. 2
0
 public object GetIcon(Path path)
 {
     if (path.isVolume())
     {
         return(IconCache.GetProtocolDisk(_controller.Session.getHost().getProtocol(),
                                          IconCache.IconSize.Small));
     }
     return(IconCache.IconForPath(path, IconCache.IconSize.Small));
 }