elementary / photos

Photo viewer and organizer designed for elementary OS
https://elementary.io
GNU Lesser General Public License v2.1
105 stars 38 forks source link

Restore title to header when viewing single photo #627

Closed jeremypw closed 3 years ago

jeremypw commented 3 years ago

Fixes #626

jeremypw commented 3 years ago

@danrabbit Well spotted - I have now kept the Gtk.Window title.

I noticed that Library Window uses a more complicated method of keeping the header and window titles in sync but I do not think it is worth it in DirectWindow.

cassidyjames commented 3 years ago

Since it appears we're building the same string twice, should we build it once and then set it twice? Or can we just header.title = title?