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

Wrong icon name #13

Open
lessneek opened this issue Apr 1, 2024 · 0 comments
Open

Wrong icon name #13

lessneek opened this issue Apr 1, 2024 · 0 comments

Comments

@lessneek
Copy link

lessneek commented Apr 1, 2024

I have "network-workgroup" in the icons.toml file and use it in code:

gtk::Image {
    set_icon_name: Some(icon_names::NETWORK_WORKGROUP),
},

the generated file icon_names.rs contains these lines:

/// Icon name of the icon `network-workgroup`, found at `"icons/icon-development-kit/network-workgroup-symbolic.svg"`.
pub const NETWORK_WORKGROUP: &str = "network-workgroup";

the problem is the icon shown is not network-workgroup-symbolic but simple network-workgroup with colors.
If I set_icon_name: Some("network-workgroup-symbolic") I get a symbolic icon as expected.

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