[gnome-music/wip/jfelder/about-dialog: 12/12] aboutdialog: Port to Gtk4
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/about-dialog: 12/12] aboutdialog: Port to Gtk4
- Date: Sun, 20 Feb 2022 11:17:27 +0000 (UTC)
commit c7d75ab7535f4956f95f1199be6d05bd105e7fa7
Author: Jean Felder <jfelder src gnome org>
Date: Fri Feb 18 00:14:31 2022 +0100
aboutdialog: Port to Gtk4
The response signal does not exist anymore. It has been replaced by
"close-request". Also, it is now useless to listen to
"close-request" because the dialog is automatically destroyed on
close.
Close: #502
gnomemusic/widgets/aboutdialog.py | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gnomemusic/widgets/aboutdialog.py b/gnomemusic/widgets/aboutdialog.py
index ac8b20e20..303ab0363 100644
--- a/gnomemusic/widgets/aboutdialog.py
+++ b/gnomemusic/widgets/aboutdialog.py
@@ -33,8 +33,3 @@ class AboutDialog(Gtk.AboutDialog):
def __init__(self):
super().__init__()
-
- self.connect("response", self._about_response)
-
- def _about_response(self, klass, data=None):
- klass.destroy()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]