Add files for installation chooser

This commit is contained in:
Heliguy
2024-10-09 11:24:48 -04:00
parent ea39a51b43
commit 434002745e
4 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
using Gtk 4.0;
using Adw 1;
template $InstallationChooser : Adw.PreferencesGroup {
title: _("Choose Installation");
}

View File

@@ -0,0 +1,7 @@
from gi.repository import Adw, Gtk
from .host_info import HostInfo
@Gtk.Template(resource_path="/io/github/flattool/Warehouse/gtk/installation_chooser.ui")
class InstallationChooser(Adw.ActionRow):
__gtype_name__ = 'InstallationChooser'
gtc = Gtk.Template.Child

View File

@@ -7,6 +7,7 @@ blueprints = custom_target('blueprints',
'gtk/app_row.blp',
'gtk/help-overlay.blp',
'gtk/loading_status.blp',
'gtk/installation_chooser.blp',
'main_window/window.blp',
'packages_page/packages_page.blp',
'packages_page/filters_page.blp',
@@ -74,6 +75,7 @@ warehouse_sources = [
'gtk/error_toast.py',
'gtk/sidebar_button.py',
'gtk/loading_status.py',
'gtk/installation_chooser.py',
'gtk/app_row.py',
'main_window/window.py',
'package_install_worker.py',

View File

@@ -5,6 +5,7 @@
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
<file preprocess="xml-stripblanks">gtk/loading_status.ui</file>
<file preprocess="xml-stripblanks">gtk/app_row.ui</file>
<file preprocess="xml-stripblanks">gtk/installation_chooser.ui</file>
<file preprocess="xml-stripblanks">main_window/window.ui</file>
<file preprocess="xml-stripblanks">packages_page/packages_page.ui</file>
<file preprocess="xml-stripblanks">packages_page/filters_page.ui</file>