fix(launcher): some icons displaying too large
This commit is contained in:
@@ -129,7 +129,7 @@ pub fn get_icon(theme: &IconTheme, app_id: &str, size: i32) -> Option<Pixbuf> {
|
|||||||
|
|
||||||
match icon_location {
|
match icon_location {
|
||||||
Some(IconLocation::Theme(icon_name)) => {
|
Some(IconLocation::Theme(icon_name)) => {
|
||||||
let icon = theme.load_icon(&icon_name, size, IconLookupFlags::empty());
|
let icon = theme.load_icon(&icon_name, size, IconLookupFlags::FORCE_SIZE);
|
||||||
|
|
||||||
match icon {
|
match icon {
|
||||||
Ok(icon) => icon,
|
Ok(icon) => icon,
|
||||||
|
|||||||
Reference in New Issue
Block a user