(&self)
| 95 | } |
| 96 | |
| 97 | pub fn config(&self) { |
| 98 | let s = config().read().unwrap().current(); |
| 99 | self.send(&GuiResponse::Config { |
| 100 | decimal: s.decimal, |
| 101 | compression: s.compression.to_string(), |
| 102 | excludes: s.excludes.join("\n"), |
| 103 | }); |
| 104 | } |
| 105 | |
| 106 | pub fn summary(&self, info: FolderSummary) { |
| 107 | self.send(&GuiResponse::FolderSummary { info }); |