imageView: Remove expression for fullscreen icon
This commit is contained in:
parent
fceec31971
commit
33bcd4a7ac
4 changed files with 16 additions and 15 deletions
|
|
@ -290,6 +290,7 @@ mod imp {
|
|||
);
|
||||
|
||||
obj.on_current_page_changed();
|
||||
obj.on_fullscreen_changed();
|
||||
|
||||
self.image_view.connect_current_page_notify(
|
||||
glib::clone!(@weak obj => move |_| obj.on_current_page_changed()),
|
||||
|
|
@ -1002,6 +1003,10 @@ impl LpWindow {
|
|||
}
|
||||
|
||||
fn on_fullscreen_changed(&self) {
|
||||
self.imp()
|
||||
.image_view
|
||||
.on_fullscreen_changed(self.is_fullscreened());
|
||||
|
||||
self.update_headerbar_style();
|
||||
|
||||
if !self.is_fullscreened() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue