Getting custom icons to work via gresource #816
Unanswered
PlatinumLucario
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently experimenting around with custom icons. And to achieve this, I've been looking into Denaro's code and tried implementing the same result.
Unfortunately though, the custom icons I made doesn't work in the test application I've developed on Ubuntu that I've been experimenting around with. As seen here:
![image](https://private-user-images.githubusercontent.com/1906189/397358326-d566033d-7b05-4925-9f7e-93b88b9ecb29.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDY1ODYsIm5iZiI6MTczODk0NjI4NiwicGF0aCI6Ii8xOTA2MTg5LzM5NzM1ODMyNi1kNTY2MDMzZC03YjA1LTQ5MjUtOWY3ZS05M2I4OGI5ZWNiMjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTYzODA2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDZkYWNiOTQ1M2VkNTlhZTljMWYwYWEzMzQxZmYzYzQyMTExOWMzN2QyN2Q2ZmQ3ZDg0YzgyNjU2NGRhM2NhZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-BFg9wUhhyiPhP7btXF5Nte3ky_YcNSvOVdu15DStSc)
So I'm really curious as to what I'm missing? I really thought I implemented everything that I could see from Denaro's code.
Test Project.csproj
Program.cs
TestWindow.cs
org.resource.test/gresource.xml
Now surely I've got the GResource XML in the correct format, right? Because I attempted it in the same format as Denaro. But why isn't the icons working?
If anyone would like to look into the full repo, here it is:
Custom Resource Test.zip
Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions