pmaports/main/postmarketos-ui-phosh/firefox.desktop
Oliver Smith 51fce1f111
main/postmarketos-ui-phosh: firefox improvements (MR 2741)
Display the app icon properly, instead of the "unknown" icon, in the
activity view. Phosh attempts to open a .desktop file with the name of
the gtk app-id, but the app-id is "firefox" and the file is named
org.mozilla.firefox.desktop (see related commit, where it was renamed
for a good reason). The way Phosh is doing the name lookup doesn't
always work for other apps too, phosh_get_desktop_app_info_for_app_id()
has workarounds e.g. for gnome-control-center hardcoded. As workaround,
add a .desktop file that makes the icon show up properly, but is not
displayed anywhere else (NoDisplay=true).

Replace epiphany with FF in the default favorite applications in phosh
(top 4 displayed at the top). We already install FF instead of epiphany
and so the 4th place is currently empty.

Related: 2d291a4afc
2021-12-13 13:12:01 +01:00

7 lines
159 B
Desktop File

# Helper for phosh_get_desktop_app_info_for_app_id() to display the icon
[Desktop Entry]
Version=1.0
Name=Firefox
Icon=firefox
NoDisplay=true
Type=Application