diff --git a/VERSION b/VERSION index 99d85ec..5c4511c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.6 \ No newline at end of file +0.0.7 \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 8db4abd..59b0cb8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -vanilla-first-setup (0.0.6) jammy; urgency=low +vanilla-first-setup (0.0.7) jammy; urgency=low * First release diff --git a/meson.build b/meson.build index 1a414ff..9e355f3 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('io.github.vanilla-os.FirstSetup', - version: '0.0.6', + version: '0.0.7', meson_version: '>= 0.59.0', default_options: [ 'warning_level=2', 'werror=false', diff --git a/vanilla_first_setup/dialogs/__init__.py b/vanilla_first_setup/dialogs/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/vanilla_first_setup/dialogs/meson.build b/vanilla_first_setup/dialogs/meson.build new file mode 100644 index 0000000..1d436de --- /dev/null +++ b/vanilla_first_setup/dialogs/meson.build @@ -0,0 +1,9 @@ +pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) +dialogsdir = join_paths(pkgdatadir, 'vanilla_first_setup/dialogs') + +sources = [ + '__init__.py', + 'subsystem.py', +] + +install_data(sources, install_dir: dialogsdir) \ No newline at end of file diff --git a/vanilla_first_setup/dialogs/subsystem.py b/vanilla_first_setup/dialogs/subsystem.py new file mode 100644 index 0000000..8e2b3a7 --- /dev/null +++ b/vanilla_first_setup/dialogs/subsystem.py @@ -0,0 +1,26 @@ +# subsystem.py +# +# Copyright 2022 mirkobrombin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundationat version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from gi.repository import Gtk, Adw + + +@Gtk.Template(resource_path='/pm/mirko/FirstSetup/gtk/dialog-subsystem.ui') +class SubSystemDialog(Adw.Window): + __gtype_name__ = 'SubSystemDialog' + + def __init__(self, window, **kwargs): + super().__init__(**kwargs) + self.set_transient_for(window) diff --git a/vanilla_first_setup/gtk/dialog-subsystem.ui b/vanilla_first_setup/gtk/dialog-subsystem.ui new file mode 100644 index 0000000..665c00e --- /dev/null +++ b/vanilla_first_setup/gtk/dialog-subsystem.ui @@ -0,0 +1,36 @@ + + + + + + \ No newline at end of file diff --git a/vanilla_first_setup/gtk/window.ui b/vanilla_first_setup/gtk/window.ui index 0e210af..2fce80e 100644 --- a/vanilla_first_setup/gtk/window.ui +++ b/vanilla_first_setup/gtk/window.ui @@ -3,8 +3,8 @@