Skip to content

Commit

Permalink
Fix notification watch button
Browse files Browse the repository at this point in the history
  • Loading branch information
buzz committed Jun 23, 2024
1 parent 97410a0 commit fda6a1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion twitch_indicator/gui/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit fda6a1b

Please sign in to comment.