feat(config): switch configuration parsing to TOML and add google_lens support
This commit is contained in:
5 files changed
+266
-80
No files matched your search
@@ -11,7 +11,7 @@ class DismissLayer(Window):
|
||||
self.event_box = EventBox()
|
||||
super().__init__(
|
||||
anchor="left right top bottom",
|
||||
layer="top",
|
||||
layer="overlay",
|
||||
exclusivity="none",
|
||||
keyboard_mode="none",
|
||||
child=self.event_box,
|
||||
@@ -70,10 +70,8 @@ class AppletWindow(PopupWindow):
|
||||
self.dismiss_layer.show()
|
||||
|
||||
self.set_visible(True)
|
||||
self.set_focus(None)
|
||||
|
||||
def close_applet(self):
|
||||
|
||||
if not self._is_open:
|
||||
return
|
||||
|
||||
@@ -88,6 +86,9 @@ class AppletWindow(PopupWindow):
|
||||
|
||||
self.set_visible(False)
|
||||
|
||||
if hasattr(self, "_parent") and self._parent:
|
||||
self._parent.set_visible(True)
|
||||
|
||||
if AppletWindow._active_popup == self:
|
||||
AppletWindow._active_popup = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user