M src/fmt/network.rs => src/fmt/network.rs +2 -2
@@ 46,7 46,7 @@ impl Iconize for NetworkFormatter {
fn set_icon(&self) -> &str {
match self.logical_address {
Some(_) => "network-wireless-symbolic",
- _ => "network-wireless-disconnected-symbolic",
+ _ => "network-wireless-offline-symbolic",
}
}
}
@@ 121,7 121,7 @@ mod tests {
#[test]
fn pick_icon() {
let mut fmt = NetworkFormatter::new();
- assert_eq!(fmt.set_icon(), "network-wireless-disconnected-symbolic");
+ assert_eq!(fmt.set_icon(), "network-wireless-offline-symbolic");
fmt.set_logical_address("192.168.1.1".to_string());
assert_eq!(fmt.set_icon(), "network-wireless-symbolic");
}
M src/read.rs => src/read.rs +1 -1
@@ 154,6 154,6 @@ pub fn date(config: &Config, icon: (&mut String, bool)) -> Result<String, Readou
}
Err(ReadoutError::Other(
- "Oops, we couldn't retrieve your timezone.".to_string(),
+ "Could not determine your timezone.".to_string(),
))
}