window: Fix title not changed when no image shown

Closes #279
This commit is contained in:
Sophie Herold 2023-11-29 20:15:42 +01:00
parent 7d36c93029
commit 4b510412e1
4 changed files with 19 additions and 18 deletions

View file

@ -65,11 +65,7 @@
<signal name="notify::fullscreened" handler="on_fullscreened" swapped="yes" />
<binding name="title">
<closure type="gchararray" function="window_title">
<lookup name="file">
<lookup name="image">
<lookup name="current-page">image_view</lookup>
</lookup>
</lookup>
<lookup name="current-page">image_view</lookup>
</closure>
</binding>
<child>