| 1 | Temporary patch to undo some Python 3.12 specific syntax until we have 3.12+ in Guix.
|
| 2 |
|
| 3 | diff -u /tmp/guix-build-showtime-50.0.drv-0/source/showtime/widgets/window.py.old /tmp/guix-build-showtime-50.0.drv-0/source/showtime/widgets/window.py
|
| 4 | |
| 5 | |
| 6 | @@ -1057,7 +1057,5 @@
|
| 7 | return
|
| 8 |
|
| 9 | Gtk.FileDialog(
|
| 10 | - initial_name=f"{
|
| 11 | - get_title(self.play.get_media_info()) or _('Unknown Title')
|
| 12 | - } {nanoseconds_to_timestamp(self.play.get_position(), hours=True)}.png"
|
| 13 | + initial_name=f"{get_title(self.play.get_media_info()) or _('Unknown Title')} {nanoseconds_to_timestamp(self.play.get_position(), hours=True)}.png"
|
| 14 | ).save(self, None, self._save_screenshot, texture.save_to_png_bytes())
|
| 15 |
|
| 16 | def _save_screenshot(
|
| 17 |
|
| 18 | Diff finished. Sun Mar 15 22:57:13 2026
|