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


Commits:
04314801 by wurstsalat at 2024-10-02T22:39:20+02:00
Fix About dialog

- - - - -


1 changed file:

- gajim/gtk/about.py


Changes:

=====================================
gajim/gtk/about.py
=====================================
@@ -64,7 +64,6 @@ def __init__(self):
         self.set_logo_icon_name('gajim')
 
         self.connect('activate-link', self._on_activate_link)
-        self.connect('response', self._on_response)
         self.show()
 
     @staticmethod
@@ -73,10 +72,3 @@ def _on_activate_link(_label: Gtk.Label, uri: str) -> int:
         # is not cross-platform compatible
         open_uri(uri)
         return Gdk.EVENT_STOP
-
-    def _on_response(self,
-                     _dialog: Gtk.AboutDialog,
-                     response: Gtk.ResponseType
-                     ) -> None:
-        if response == Gtk.ResponseType.DELETE_EVENT:
-            self.destroy()



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

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


_______________________________________________
Commits mailing list -- commits@gajim.org
To unsubscribe send an email to commits-le...@gajim.org

Reply via email to