roundabout,
created on Sunday, 19 October 2025, 10:36:36 (1760870196),
received on Sunday, 19 October 2025, 10:36:39 (1760870199)
Author identity: Vlad <vlad.muntoiu@gmail.com>
fbcc86545d76821809f5cd9a139c26a45a6b0581
applets/notifier/__init__.py
@@ -195,6 +195,7 @@ class NotifierApplet(panorama_panel.Applet):
new_child = BriefNotification(app_name, replaces_id, app_icon, summary, body, actions, hints, expire_timeout)
new_child.image.set_pixel_size(self.icon_size)
self.stack.add_child(new_child)
self.button.set_has_frame(True)
self.stack.set_visible_child(new_child)
def remove_notification():
def remove_child():
@@ -203,6 +204,8 @@ class NotifierApplet(panorama_panel.Applet):
if self.stack.get_visible_child() == new_child:
self.stack.set_visible_child(self.stack.get_visible_child().get_prev_sibling())
GLib.timeout_add(self.stack.get_transition_duration(), remove_child)
if self.stack.get_visible_child() is self.notification_indicator:
self.button.set_has_frame(False)
else:
# TODO: split the time
def readd_timeout(*args):