About bug

Fixed location of about logo to res/
This commit is contained in:
markjfine 2021-04-02 05:49:38 -04:00 committed by GitHub
parent b0163a7ed3
commit 565b6c6c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# NRSC5 DUI - A graphical interface for nrsc5 # NRSC5 DUI - A graphical interface for nrsc5
# Copyright (C) 2017 Cody Nybo # Copyright (C) 2017-2019 Cody Nybo & Clayton Smith, 2019 zefie, 2021 Mark J. Fine
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -543,7 +543,7 @@ class NRSC5_DUI(object):
license = """ license = """
NRSC5 DUI - A graphical interface for nrsc5 NRSC5 DUI - A graphical interface for nrsc5
Copyright (C) 2017-2019 Cody Nybo & Clayton Smith Copyright (C) 2017-2019 Cody Nybo & Clayton Smith, 2019 zefie, 2021 Mark J. Fine
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -566,7 +566,7 @@ class NRSC5_DUI(object):
about_dialog.set_authors(authors) about_dialog.set_authors(authors)
about_dialog.set_license(license) about_dialog.set_license(license)
#about_dialog.set_logo(Gtk.gdk.pixbuf_new_from_file("logo.png")) #about_dialog.set_logo(Gtk.gdk.pixbuf_new_from_file("logo.png"))
about_dialog.set_logo(GdkPixbuf.Pixbuf.new_from_file("logo.png")) about_dialog.set_logo(GdkPixbuf.Pixbuf.new_from_file("res/logo.png"))
# callbacks for destroying the dialog # callbacks for destroying the dialog
def close(dialog, response, editor): def close(dialog, response, editor):