Skip to content

Commit

Permalink
Data(fix): scale icons to 128x128 and install to correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Apr 1, 2020
1 parent 6239fe5 commit 9f07380
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ config: builtin.cfg
$(INSTALL) -Dm644 "$<" "$(DESTDIR)$(PACKAGE_CONFIG_DIR)/$(PACKAGE)/$<"

.PHONY: icons
icons: icons/scalable/srain.png
$(INSTALL) -Dm644 "$<" "$(DESTDIR)$(PACKAGE_DATA_DIR)/icons/hicolor/scalable/apps/$(PACKAGE_APPID).png"
icons: icons/128x128/srain.png
$(INSTALL) -Dm644 "$<" "$(DESTDIR)$(PACKAGE_DATA_DIR)/icons/hicolor/128x128/apps/$(PACKAGE_APPID).png"

.PHONY: themes
themes: $(THEMES)
Expand Down
Binary file added data/icons/128x128/srain-red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/icons/128x128/srain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/icons/scalable/srain-red.png
Binary file not shown.
Binary file removed data/icons/scalable/srain.png
Binary file not shown.
4 changes: 2 additions & 2 deletions data/srain.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Icons files, TODO: SVG -->
<gresource prefix="/im/srain/Srain/icons/scalable/apps">
<file alias="srain.png">icons/scalable/srain.png</file>
<file alias="srain-red.png">icons/scalable/srain-red.png</file>
<file alias="srain.png">icons/128x128/srain.png</file>
<file alias="srain-red.png">icons/128x128/srain-red.png</file>
</gresource>
</gresources>

0 comments on commit 9f07380

Please sign in to comment.