From 68857d3e1e4ca9b24fac5ae3da11eb8e5b67ad8a Mon Sep 17 00:00:00 2001 From: heliguy4599 Date: Thu, 21 Sep 2023 14:57:34 -0400 Subject: [PATCH] Change to flathub gnome runtime v45 --- ...l.in => io.github.heliguy4599.Warehouse.metainfo.xml.in} | 2 +- data/meson.build | 6 +++--- io.github.heliguy4599.Warehouse.json | 2 +- po/POTFILES | 2 +- po/de.po | 2 +- po/es.po | 2 +- po/flattool-gui.pot | 2 +- po/nb.po | 2 +- po/nn.po | 2 +- po/pl.po | 2 +- src/remotes.py | 4 ++-- 11 files changed, 14 insertions(+), 14 deletions(-) rename data/{io.github.heliguy4599.Warehouse.appdata.xml.in => io.github.heliguy4599.Warehouse.metainfo.xml.in} (81%) diff --git a/data/io.github.heliguy4599.Warehouse.appdata.xml.in b/data/io.github.heliguy4599.Warehouse.metainfo.xml.in similarity index 81% rename from data/io.github.heliguy4599.Warehouse.appdata.xml.in rename to data/io.github.heliguy4599.Warehouse.metainfo.xml.in index 4f508d10..815f7013 100644 --- a/data/io.github.heliguy4599.Warehouse.appdata.xml.in +++ b/data/io.github.heliguy4599.Warehouse.metainfo.xml.in @@ -2,7 +2,7 @@ io.github.heliguy4599.Warehouse.desktop CC0-1.0 - GPL-3.0-or-later + GPL-3.0-only

No description

diff --git a/data/meson.build b/data/meson.build index 9ded88f1..8a5bef4f 100644 --- a/data/meson.build +++ b/data/meson.build @@ -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) diff --git a/io.github.heliguy4599.Warehouse.json b/io.github.heliguy4599.Warehouse.json index 99216caa..e3a5a731 100644 --- a/io.github.heliguy4599.Warehouse.json +++ b/io.github.heliguy4599.Warehouse.json @@ -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" : [ diff --git a/po/POTFILES b/po/POTFILES index ad6181fc..da4c70cc 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -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 diff --git a/po/de.po b/po/de.po index 739a3e59..03337d06 100644 --- a/po/de.po +++ b/po/de.po @@ -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" diff --git a/po/es.po b/po/es.po index 38d5a31e..fc5e0ee7 100644 --- a/po/es.po +++ b/po/es.po @@ -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 "" diff --git a/po/flattool-gui.pot b/po/flattool-gui.pot index 0f5ab469..804f750d 100644 --- a/po/flattool-gui.pot +++ b/po/flattool-gui.pot @@ -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 "" diff --git a/po/nb.po b/po/nb.po index 3a652a75..c3a622d6 100644 --- a/po/nb.po +++ b/po/nb.po @@ -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" diff --git a/po/nn.po b/po/nn.po index 6336a338..db50a8b7 100644 --- a/po/nn.po +++ b/po/nn.po @@ -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" diff --git a/po/pl.po b/po/pl.po index da49bbd1..8a8693e6 100644 --- a/po/pl.po +++ b/po/pl.po @@ -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" diff --git a/src/remotes.py b/src/remotes.py index 307b678a..180deb1e 100644 --- a/src/remotes.py +++ b/src/remotes.py @@ -172,7 +172,7 @@ def generate_list(self): 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 @@ def generate_list(self): 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))