Skip to content

Commit

Permalink
Bubble: use overlay.child (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored May 19, 2024
1 parent d320da6 commit 48d439b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bubble.vala
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ public class Notifications.Bubble : AbstractBubble, Gtk.Actionable {
app_image.pixel_size = 24;
app_image.halign = app_image.valign = Gtk.Align.END;

image_overlay.add (notification.image);
image_overlay.child = notification.image;
image_overlay.add_overlay (app_image);
} else {
app_image.pixel_size = 48;
image_overlay.add (app_image);
image_overlay.child = app_image;

if (notification.badge_icon != null) {
var badge_image = new Gtk.Image.from_gicon (notification.badge_icon, Gtk.IconSize.LARGE_TOOLBAR) {
Expand Down

0 comments on commit 48d439b

Please sign in to comment.