Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about: Add more information and update credits #47

Merged
merged 1 commit into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@
<property name="application-name">GabTag</property>
<property name="license-type">gpl-3-0</property>
<property name="comments" translatable="yes">Audio tagging tool.</property>
<property name="website">https://github.com/lachhebo/gabtag</property>
<property name="issue-url">https://github.com/lachhebo/gabtag/issues</property>
<property name="developer-name">Ismaël Lachheb</property>
<property name="designers">Tobias Bernard</property>
<property name="developers">Ismaël Lachheb
Óscar Fernández Díaz</property>
<property name="designers">Ismaël Lachheb</property>
<property name="artists">Tobias Bernard</property>
<!-- TRANSLATORS: 'Name <email@domain.com>' or 'Name https://website.example' -->
<property name="translator-credits" translatable="yes">translator-credits</property>
<binding name="transient-for">
Expand Down Expand Up @@ -323,4 +328,3 @@
</property>
</template>
</interface>

4 changes: 4 additions & 0 deletions src/window_gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
from .view import VIEW

import gi
import gettext

gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1")

from gi.repository import Adw, Gio, GObject, Gtk # noqa: E402

_ = gettext.gettext


@Gtk.Template(resource_path="/com/github/lachhebo/Gabtag/window.ui")
class GabtagWindow(Adw.ApplicationWindow):
Expand Down Expand Up @@ -67,6 +70,7 @@ def __init__(self, app_id, version, devel, **kwargs):
self.set_default_icon_name(app_id)
self.id_about_window.set_application_icon(app_id)
self.id_about_window.set_version(version)
self.id_about_window.add_link(_("Donate"), "https://paypal.me/lachhebo")

TREE_VIEW.store = self.liststore1
TREE_VIEW.view = self.tree_view_id
Expand Down