Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
c839268b by wurstsalat at 2025-02-21T23:09:38+01:00
cfix: Preview: Don't hide controls if original is not downloaded yet

- - - - -


1 changed file:

- gajim/gtk/preview.py


Changes:

=====================================
gajim/gtk/preview.py
=====================================
@@ -335,7 +335,7 @@ def _on_content_cursor_leave(
         _controller: Gtk.EventControllerMotion,
     ) -> None:
         assert self._preview is not None
-        if self._preview.mime_type.startswith("image/"):
+        if self._preview.mime_type.startswith("image/") and 
self._preview.orig_exists:
             self._ui.button_box.set_visible(False)
 
     def _on_cancel_download_clicked(self, _button: Gtk.Button) -> None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/c839268b5ba2360be8d36fd16090d9ea96dae104

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/c839268b5ba2360be8d36fd16090d9ea96dae104
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to