Skip to content

Commit

Permalink
Merge pull request #11 from JeysonFlores/issue10
Browse files Browse the repository at this point in the history
AppData Releases now have proper descriptions
  • Loading branch information
JeysonFlores committed Aug 24, 2021
2 parents 61311ce + d3119f9 commit e2bb45a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
24 changes: 22 additions & 2 deletions data/com.github.jeysonflores.hasher.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<li>SHA224</li>
<li>SHA256</li>
<li>SHA384</li>
<li>SHA512</li>
<li>SHA512</li>
</ul>
<p>
Features Include:
Expand All @@ -27,13 +27,33 @@
<li>Hash files</li>
<li>Compare files</li>
<li>Verify if a file and a hash match</li>
<li>Dark Mode Support</li>
<li>Dark Mode Support</li>
</ul>
</description>
<provides>
<binary>com.github.jeysonflores.hasher</binary>
</provides>
<releases>
<release version="1.0.1-6" date="2021-08-24">
<description>
<p>New Features:</p>
<ul>
<li>Now Hasher remembers last selected algorithm (Thanks to Vishal Rao)</li>
</ul>
<p>Improvements:</p>
<ul>
<li>Screenshots now display correctly on AppCenter (Thanks to Cassidy James)</li>
<li>Other code cleaning</li>
</ul>
</description>
<release version="1.0.1-4" date="2021-08-23">
<description>
<p>Improvements:</p>
<ul>
<li>Dialogs now use native portals</li>
<li>Flatpak's file access permissions removed</li>
</ul>
</description>
<release version="1.0.1" date="2021-08-22">
<description>
<p>First Release</p>
Expand Down
4 changes: 2 additions & 2 deletions src/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self):
self.settings = Gio.Settings(schema_id="com.github.jeysonflores.hasher")

self.hashes_alg_combo.set_active(self.settings.get_int("algorithm"))
self.hashes_alg_combo.connect("changed", self.on_algo_changed)
self.hashes_alg_combo.connect("changed", self.on_alg_changed)
button_combo = Gtk.Box(orientation = Gtk.Orientation.HORIZONTAL)
button_combo_context = button_combo.get_style_context()
button_combo_context.add_class("selection_data")
Expand Down Expand Up @@ -162,7 +162,7 @@ def __init__(self):

self.resize(600, 400)

def on_algo_changed(self, algo):
def on_alg_changed(self, algo):
self.settings.set_int("algorithm", self.hashes_alg_combo.get_active())

def main_file_selection(self, button):
Expand Down

0 comments on commit e2bb45a

Please sign in to comment.