Skip to content

Commit

Permalink
Add sshfs to network mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
p91paul committed Jan 27, 2015
1 parent 0cde16c commit fe92079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-monitor@paradoxxx.zero.gmail.com/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ const smMountsMonitor = new Lang.Class({
let file = mount.get_default_location();
let info = file.query_filesystem_info(Gio.FILE_ATTRIBUTE_FILESYSTEM_TYPE, null);
let result = info.get_attribute_string(Gio.FILE_ATTRIBUTE_FILESYSTEM_TYPE);
return (result == 'nfs' || result == 'smbfs' || result == 'cifs' || result == 'ftp');
return (result == 'nfs' || result == 'smbfs' || result == 'cifs' || result == 'ftp' || result == 'sshfs');
} catch(e) {
return false;
}
Expand Down

0 comments on commit fe92079

Please sign in to comment.