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

Icons not building/loading #5

Open
LauraWebdev opened this issue Jul 26, 2024 · 0 comments
Open

Icons not building/loading #5

LauraWebdev opened this issue Jul 26, 2024 · 0 comments

Comments

@LauraWebdev
Copy link

Hey there,

first of all: Wonderful project! I've had quite some hassles to get GirCore working and this seems like the perfect starting point. I'm currently playing around with the GTK UI systems, I've noticed that after creating a new project, it does not display the app icon (or any icons I place within data/icons. It did show an app icon for the first project I've created (keeping "MyApp" as the name) but now it won't display, not even for newly created projects with the template.

(This might very well just be my inexperience with the gresource system.)

image
image

My file structure for the data/icons folder is unchanged.

data
|-- icons
    |-- hicolor
        |-- scalable
            |-- apps
                |-- media.laura.DeepSeaPlayer.svg
        |-- symbolic
            |-- apps
                |-- media.laura.DeepSeaPlayer-symbolic.svg
    |-- symbolic
        |-- actions
                |-- play-symbolic.svg
    |-- meson.build

media.laura.DeepSeaPlayer.gresource.xml

<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix="/media/laura/DeepSeaPlayer/">
  </gresource>
</gresources>

I'm running this through Rider on Fedora 40/Nobara.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant