Skip to content

Commit

Permalink
Change to flathub gnome runtime v45
Browse files Browse the repository at this point in the history
  • Loading branch information
heliguy4599 committed Sep 21, 2023
1 parent 88c8a19 commit 68857d3
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion io.github.heliguy4599.Warehouse.json
Original file line number Diff line number Diff line change
@@ -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" : [
Expand Down
2 changes: 1 addition & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

Expand Down
2 changes: 1 addition & 1 deletion po/flattool-gui.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

Expand Down
2 changes: 1 addition & 1 deletion po/nb.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion po/nn.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion po/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions src/remotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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))
Expand Down

0 comments on commit 68857d3

Please sign in to comment.