Skip to content

Commit

Permalink
Merge pull request #52 from t00m/0.0.32
Browse files Browse the repository at this point in the history
0.0.32
  • Loading branch information
t00m authored May 31, 2024
2 parents bfc17f6 + 9025cda commit c5eb4f3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
21 changes: 21 additions & 0 deletions MiAZ/backend/data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-

"""
# File: data.py
# Author: Tomás Vírseda
# License: GPL v3
# Description: data backup/restore
"""

class MiAZData:
def __init__(self):
pass

class MiAZDataBackup:
def __init__(self):
pass

class MiAZDataRestore:
def __init__(self):
pass
2 changes: 1 addition & 1 deletion MiAZ/frontend/desktop/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def check_repository(self, repo_id: str = None):
valid = False
except KeyError as error:
self.log.debug("No repository active in the configuration")
self.show_stack_page_by_name('welcome')
self.actions.show_stack_page_by_name('welcome')
valid = False
window = self.get_widget('window')
if window is not None:
Expand Down
3 changes: 2 additions & 1 deletion MiAZ/frontend/desktop/widgets/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def __init__(self, app):
super(Gtk.Box, self).__init__(spacing=12, orientation=Gtk.Orientation.VERTICAL)
self.app = app
self.factory = self.app.get_service('factory')
self.actions = self.app.get_service('actions')
ENV = self.app.get_env()
centerbox = Gtk.CenterBox(orientation=Gtk.Orientation.VERTICAL)
centerbox.set_vexpand(True)
Expand All @@ -41,7 +42,7 @@ def __init__(self, app):
button = self.factory.create_button(title='Manage repositories')
button.set_valign(Gtk.Align.CENTER)
button.set_halign(Gtk.Align.CENTER)
# ~ button.connect('clicked', self.app.show_app_settings)
button.connect('clicked', self.actions.show_app_settings)
vbox.append(button)


Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('MiAZ',
version: '0.0.31',
version: '0.0.32',
meson_version: '>= 0.61.2',
default_options: [ 'warning_level=2',
],
Expand Down

0 comments on commit c5eb4f3

Please sign in to comment.