GThemedIcon is shown very small in notification
From: gnome-software!1973 (comment 2093778)
When a GThemedIcon
is set as a GNotification
icon, it is shown very small as below.
Appears to be due to 8fed0b83
With the below quick hack,
--- a/js/ui/messageList.js
+++ b/js/ui/messageList.js
@@ -534,11 +534,6 @@ export const Message = GObject.registerClass({
set icon(icon) {
this._icon.gicon = icon;
- if (icon instanceof Gio.ThemedIcon)
- this._icon.add_style_class_name('message-themed-icon');
- else
- this._icon.remove_style_class_name('message-themed-icon');
-
this._icon.visible = !!icon;
this.notify('icon');
}
the icon is shown properly as below.