Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
4e6fd09c11 | |||
2595680e07 | |||
c02c844715 |
@@ -18,9 +18,8 @@
|
||||
<object class="GtkImage" id="album_art">
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">False</property>
|
||||
<property name="pixel-size">48</property>
|
||||
<property name="icon-name">audio-x-generic-symbolic</property>
|
||||
<property name="use-fallback">True</property>
|
||||
<property name="pixel-size">96</property>
|
||||
<property name="use-fallback">False</property>
|
||||
<property name="icon_size">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
@@ -272,18 +272,6 @@ namespace SwayNotificationCenter.Widgets.Mpris {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Get the app icon
|
||||
Icon ? icon = null;
|
||||
if (desktop_entry is DesktopAppInfo) {
|
||||
icon = desktop_entry.get_icon ();
|
||||
}
|
||||
if (icon != null) {
|
||||
album_art.set_from_gicon (icon, mpris_config.image_size);
|
||||
} else {
|
||||
// Default icon
|
||||
album_art.set_from_icon_name ("audio-x-generic-symbolic",
|
||||
mpris_config.image_size);
|
||||
}
|
||||
}
|
||||
|
||||
private void update_button_shuffle (HashTable<string, Variant> metadata) {
|
||||
|
Reference in New Issue
Block a user