FineFindus / udisks-rs

Unofficial Rust crate for UDisks2
https://crates.io/crates/udisks2
GNU Lesser General Public License v2.1
3 stars 0 forks source link

Pure Rust implementation of GIcon #3

Closed bilelmoussaoui closed 3 months ago

bilelmoussaoui commented 3 months ago

Hey, I think you can replace the gio feature with https://github.com/bilelmoussaoui/ashpd/blob/master/src/desktop/icon.rs

FineFindus commented 3 months ago

Thanks, but reading through the code it doesn't seem like Icon has a way of actually getting the gio::ThemedIcon?

bilelmoussaoui commented 3 months ago

what do you mean by that? gio::ThemedIcon is basically Icon::Names(Vec<String>)

bilelmoussaoui commented 3 months ago

The major difference is the lack of automatically fallback between -symbolic and the "normal" icon

FineFindus commented 3 months ago

Oh, I must have looked at the wrong doc :(. Thanks for pointing out the difference, in that case gio can indeed be removed, as we only ever return a single icon/symbolic icon name.