Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppInfoView: new icon and copy for old runtimes #1838

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions data/icons/categories.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<file alias="online-account-telegram.svg" compressed="true" preprocess="xml-stripblanks">online-account-telegram.svg</file>
<file alias="text-x-copying-symbolic.svg" compressed="true" preprocess="xml-stripblanks">text-x-copying-symbolic.svg</file>

<file alias="flatpak-eol-symbolic.svg" compressed="true" preprocess="xml-stripblanks">oars/old-runtime.svg</file>

<file alias="oars-chat-symbolic.svg" compressed="true" preprocess="xml-stripblanks">oars/chat.svg</file>
<file alias="oars-conflict-symbolic.svg" compressed="true" preprocess="xml-stripblanks">oars/conflict.svg</file>
<file alias="oars-gambling-symbolic.svg" compressed="true" preprocess="xml-stripblanks">oars/gambling.svg</file>
Expand Down
33 changes: 33 additions & 0 deletions data/icons/oars/old-runtime.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/Views/AppInfoView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -766,16 +766,16 @@ namespace AppCenter.Views {
switch (package.runtime_status) {
case RuntimeStatus.END_OF_LIFE:
runtime_warning = new ContentType (
_("Outdated"),
_("Built with older technologies that may not work as expected or receive security updates"),
"software-update-urgent-symbolic"
_("End of Life"),
_("May not work as expected or receive security updates"),
"flatpak-eol-symbolic"
);
break;
case RuntimeStatus.MAJOR_OUTDATED:
runtime_warning = new ContentType (
_("Outdated"),
_("Built for an older version of %s; might not support the latest features").printf (Environment.get_os_info (GLib.OsInfoKey.NAME)),
"software-update-available-symbolic"
_("May not work as expected or support the latest features"),
"flatpak-eol-symbolic"
);
break;
case RuntimeStatus.MINOR_OUTDATED:
Expand Down