ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.15k stars 59 forks source link

Fix default mpris icon size #370

Closed abmantis closed 3 months ago

abmantis commented 5 months ago

The widget was was using the .ui size instead of the user config size in the following situations:

This fix sets the default size for the album art icon according to the user's config.

set_from_gicon and set_from_icon_name receive a Gtk.IconSize enum value, not an int, so we need to call set_pixel_size to set the proper size.

ErikReider commented 4 months ago

Could you also update the branch off of main?