From 8d4a5f7f7977d5c70d32a34101bfde4739ca744f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Sat, 4 Apr 2026 03:16:41 +0200 Subject: [PATCH] Set license type on about dialog This ensures that the proper license is displayed on the about dialog even if the license file is missing from the system. --- usr/lib/bulky/bulky.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/usr/lib/bulky/bulky.py b/usr/lib/bulky/bulky.py index 567cd13..0d05af6 100755 --- a/usr/lib/bulky/bulky.py +++ b/usr/lib/bulky/bulky.py @@ -437,13 +437,7 @@ def open_about(self, widget): dlg.set_title(_("About")) dlg.set_program_name("Bulky") dlg.set_comments(_("Rename Files")) - try: - with open('/usr/share/common-licenses/GPL-3', encoding="utf-8") as h: - gpl= h.read() - dlg.set_license(gpl) - except Exception as e: - print (e) - + dlg.set_license_type(Gtk.License.GPL_3_0) dlg.set_version("__DEB_VERSION__") dlg.set_icon_name("bulky") dlg.set_logo_icon_name("bulky")