Skip to content

Commit

Permalink
StatusNotifierItem: announce version and status
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Jan 4, 2025
1 parent 14f24a2 commit b28044a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion blueman/main/indicators/StatusNotifierItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@

class MenuService(DbusService):
def __init__(self, on_activate_menu_item: MenuItemActivator) -> None:
super().__init__(None, "com.canonical.dbusmenu", "/org/blueman/sni/menu", Gio.BusType.SESSION)
super().__init__(None, "com.canonical.dbusmenu", "/org/blueman/sni/menu", Gio.BusType.SESSION,
{"Version": "u", "Status": "s"})
self._items: OrderedDict[int, MenuItemDict] = OrderedDict()
self.Version = 3
self.Status = "normal"
self._revision = 0
self._revision_advertised = -1
self._on_activate = on_activate_menu_item
Expand Down

0 comments on commit b28044a

Please sign in to comment.