diff --git a/bumblebee_status/util/popup.py b/bumblebee_status/util/popup.py index 85fe50b..f162846 100644 --- a/bumblebee_status/util/popup.py +++ b/bumblebee_status/util/popup.py @@ -22,6 +22,9 @@ class menu(object): self._root.withdraw() self._menu = tk.Menu(self._root, tearoff=0) self._menu.bind("", self.__on_focus_out) + + self.add_menuitem("close", self.__on_focus_out) + self.add_separator() else: self._root = parent.root() self._root.withdraw()