Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Source0: %{url}/archive/%{commit}.tar.gz
Source1: org.gnome.shell.extensions.logo-menu.gschema.xml
Source2: ampere-logo-symbolic.svg
Source3: framework-logo-symbolic.svg
Source4: windows-logo-symbolic.svg

BuildArch: noarch

Expand Down Expand Up @@ -46,6 +47,7 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/po/ p
install -Dpm0644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/Resources/ Resources/*.svg
install -Dpm0644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/Resources %{SOURCE2}
install -Dpm0644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/Resources %{SOURCE3}
install -Dpm0644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/Resources %{SOURCE4}
install -Dpm0644 -t %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/PrefsLib/ PrefsLib/*.js
glib-compile-schemas %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/schemas/

Expand Down
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extension uses and index so if the order of the entries changes at all it will break everyone's logos

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, aware. That's why the custom ones go to the end again now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with that it'll only change the icon for users of the downstream icons when a new one gets added to the array upstream. This should probably be changed upstream to match the icon against a key instead of the index.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{PATH: 'start-here-symbolic'},
+ {PATH: '/Resources/framework-logo-symbolic.svg'},
+ {PATH: '/Resources/ampere-logo-symbolic.svg'},
+ {PATH: '/Resources/windows-logo-symbolic.svg'},
{PATH: '/Resources/fedora-logo-symbolic.svg'},
{PATH: '/Resources/debian-logo-symbolic.svg'},
{PATH: '/Resources/manjaro-logo-symbolic.svg'},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.