From fda6a1b15c02e6ece5660fac3600892de5418ee2 Mon Sep 17 00:00:00 2001 From: buzz Date: Sun, 23 Jun 2024 18:55:40 +0200 Subject: [PATCH] Fix notification watch button --- twitch_indicator/gui/notifications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twitch_indicator/gui/notifications.py b/twitch_indicator/gui/notifications.py index a4d07e0..8fbdec3 100644 --- a/twitch_indicator/gui/notifications.py +++ b/twitch_indicator/gui/notifications.py @@ -101,4 +101,5 @@ def _on_notification_watch( self, notification: Notify.Notification, action: str, user_login: str ) -> None: """Callback for notification stream watch action.""" - self._gui_manager.app.activate_action("open-stream", GLib.Variant.new_string(user_login)) + var_user_login = GLib.Variant.new_string(user_login) + self._gui_manager.app.actions.action_group.activate_action("open-stream", var_user_login)