Start adapting to Python 4.0
This commit is contained in:
parent
e8c36247a5
commit
6084eb9fea
@ -920,7 +920,7 @@ class Invoker(gobject.GObject):
|
|||||||
def _ensure_palette_exists(self):
|
def _ensure_palette_exists(self):
|
||||||
if self.parent and self.palette is None:
|
if self.parent and self.palette is None:
|
||||||
palette = self.parent.create_palette()
|
palette = self.parent.create_palette()
|
||||||
if palette:
|
if palette is not None:
|
||||||
self.palette = palette
|
self.palette = palette
|
||||||
|
|
||||||
def notify_mouse_enter(self):
|
def notify_mouse_enter(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user