Change to flathub gnome runtime v45

This commit is contained in:
heliguy4599
2023-09-21 14:57:34 -04:00
parent 88c8a19e90
commit 68857d3e1e
11 changed files with 14 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
<component type="desktop">
<id>io.github.heliguy4599.Warehouse.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<project_license>GPL-3.0-only</project_license>
<description>
<p>No description</p>
</description>

View File

@@ -13,11 +13,11 @@ if desktop_utils.found()
endif
appstream_file = i18n.merge_file(
input: 'io.github.heliguy4599.Warehouse.appdata.xml.in',
output: 'io.github.heliguy4599.Warehouse.appdata.xml',
input: 'io.github.heliguy4599.Warehouse.metainfo.xml.in',
output: 'io.github.heliguy4599.Warehouse.metainfo.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'appdata')
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
appstream_util = find_program('appstream-util', required: false)

View File

@@ -1,7 +1,7 @@
{
"id" : "io.github.heliguy4599.Warehouse",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"runtime-version" : "45",
"sdk" : "org.gnome.Sdk",
"command" : "warehouse",
"finish-args" : [

View File

@@ -1,5 +1,5 @@
data/io.github.heliguy4599.Warehouse.desktop.in
data/io.github.heliguy4599.Warehouse.appdata.xml.in
data/io.github.heliguy4599.Warehouse.metainfo.xml.in
data/io.github.heliguy4599.Warehouse.gschema.xml
src/main.py
src/window.py

View File

@@ -21,7 +21,7 @@ msgstr ""
msgid "Warehouse"
msgstr "Warehouse"
#: data/io.github.heliguy4599.Warehouse.appdata.xml.in:7
#: data/io.github.heliguy4599.Warehouse.metainfo.xml.in:7
msgid "No description"
msgstr "Keine Beschreibung"

View File

@@ -21,7 +21,7 @@ msgstr ""
msgid "Warehouse"
msgstr "Warehouse"
#: data/io.github.heliguy4599.Warehouse.appdata.xml.in:7
#: data/io.github.heliguy4599.Warehouse.metainfo.xml.in:7
msgid "No description"
msgstr ""

View File

@@ -21,7 +21,7 @@ msgstr ""
msgid "Warehouse"
msgstr ""
#: data/io.github.heliguy4599.Warehouse.appdata.xml.in:7
#: data/io.github.heliguy4599.Warehouse.metainfo.xml.in:7
msgid "No description"
msgstr ""

View File

@@ -21,7 +21,7 @@ msgstr ""
msgid "Warehouse"
msgstr "Warehouse"
#: data/io.github.heliguy4599.Warehouse.appdata.xml.in:7
#: data/io.github.heliguy4599.Warehouse.metainfo.xml.in:7
msgid "No description"
msgstr "Ingen beskrivelse"

View File

@@ -21,7 +21,7 @@ msgstr ""
msgid "Warehouse"
msgstr "Warehouse"
#: data/io.github.heliguy4599.Warehouse.appdata.xml.in:7
#: data/io.github.heliguy4599.Warehouse.metainfo.xml.in:7
msgid "No description"
msgstr "Ingen skildring"

View File

@@ -21,7 +21,7 @@ msgstr ""
msgid "Warehouse"
msgstr "Warehouse"
#: data/io.github.heliguy4599.Warehouse.appdata.xml.in:7
#: data/io.github.heliguy4599.Warehouse.metainfo.xml.in:7
msgid "No description"
msgstr "Brak opisu"

View File

@@ -172,7 +172,7 @@ class RemotesWindow(Adw.Window):
self.remotes_list.remove_all()
self.host_remotes = self.get_host_remotes()
self.host_flatpaks = self.get_host_flatpaks()
if len(self.host_remotes) <= 1:
if len(self.host_remotes) < 1:
no_remotes = Adw.StatusPage(icon_name="error-symbolic", title=_("No Remotes"), description=_("Warehouse cannot see the list of remotes or the system has no remotes added"))
self.stack.add_child(no_remotes)
self.stack.set_visible_child(no_remotes)
@@ -186,7 +186,7 @@ class RemotesWindow(Adw.Window):
if title == "-":
remote_row.set_title(name)
self.remotes_list.append(remote_row)
label = Gtk.Label(label=install_type)
label = Gtk.Label(label=("{} wide").format(install_type))
label.add_css_class("subtitle")
remote_row.add_suffix(label)
remove_button = Gtk.Button(icon_name="user-trash-symbolic", valign=Gtk.Align.CENTER, tooltip_text=_("Remove {}").format(name))