-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
852 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.1 | ||
0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from lib.utils import Utils | ||
from os.path import join | ||
from gi import require_versions | ||
require_versions({"Gtk": "3.0"}) | ||
from gi.repository import Gtk | ||
from gi.repository.GdkPixbuf import Pixbuf | ||
|
||
|
||
class About(Gtk.AboutDialog): | ||
|
||
def __init__(self, parent): | ||
super().__init__( | ||
modal=True, | ||
transient_for=parent, | ||
program_name=Utils.NAME, | ||
version=Utils.VERSION, | ||
copyright="Copyright © 2021-2022 Zev Lee", | ||
license_type=Gtk.License.MIT_X11, | ||
website="https://github.com/zevlee/passphraser", | ||
website_label="Homepage" | ||
) | ||
|
||
# Set up logo | ||
filename = join(Utils.APP_DIR, f"{Utils.ID}.svg") | ||
logo = Pixbuf.new_from_file(filename) | ||
|
||
# Add logo | ||
self.set_logo(logo) |
Oops, something went wrong.