config: allow disabling the built-in bar
This commit is contained in:
parent
224f5380fe
commit
08e7e01d0e
16 changed files with 156 additions and 14 deletions
|
|
@ -950,6 +950,16 @@ impl ConfigClient {
|
|||
above
|
||||
}
|
||||
|
||||
pub fn set_show_bar(&self, show: bool) {
|
||||
self.send(&ClientMessage::SetShowBar { show });
|
||||
}
|
||||
|
||||
pub fn get_show_bar(&self) -> bool {
|
||||
let res = self.send_with_response(&ClientMessage::GetShowBar);
|
||||
get_response!(res, true, GetShowBar { show });
|
||||
show
|
||||
}
|
||||
|
||||
pub fn set_show_float_pin_icon(&self, show: bool) {
|
||||
self.send(&ClientMessage::SetShowFloatPinIcon { show });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue