diff --git a/data/cz.vesp.roster.metainfo.xml.in b/data/cz.vesp.roster.metainfo.xml.in index 465a37e..6047cc5 100644 --- a/data/cz.vesp.roster.metainfo.xml.in +++ b/data/cz.vesp.roster.metainfo.xml.in @@ -58,6 +58,15 @@ + + +

Version 0.2.0 release

+
    +
  • Environment variable support improvements
  • +
  • UI refinements and bug fixes
  • +
+
+
https://example.org/changelog.html#version_1.0.1 diff --git a/meson.build b/meson.build index 6237a38..5c3de47 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('roster', - version: '0.1.0', + version: '0.2.0', meson_version: '>= 1.0.0', default_options: [ 'warning_level=2', 'werror=false', ], ) diff --git a/src/main.py b/src/main.py index f846adc..a521c30 100644 --- a/src/main.py +++ b/src/main.py @@ -31,10 +31,11 @@ from .preferences_dialog import PreferencesDialog class RosterApplication(Adw.Application): """The main application singleton class.""" - def __init__(self): + def __init__(self, version='0.0.0'): super().__init__(application_id='cz.vesp.roster', flags=Gio.ApplicationFlags.DEFAULT_FLAGS, resource_base_path='/cz/vesp/roster') + self.version = version self.create_action('quit', lambda *_: self.quit(), ['q']) self.create_action('about', self.on_about_action) self.create_action('preferences', self.on_preferences_action) @@ -56,7 +57,7 @@ class RosterApplication(Adw.Application): about = Adw.AboutDialog(application_name='Roster', application_icon='cz.vesp.roster', developer_name='Pavel Baksy', - version='0.1.0', + version=self.version, developers=['Pavel Baksy'], copyright='© 2025 Pavel Baksy', comments='HTTP client for testing APIs') @@ -99,5 +100,5 @@ class RosterApplication(Adw.Application): def main(version): """The application's entry point.""" - app = RosterApplication() + app = RosterApplication(version=version) return app.run(sys.argv)