GLib idle add return effort 2

This commit is contained in:
itdominator 2023-12-31 22:35:33 -06:00
parent 4cafb7ff9f
commit 37e3265be5
5 changed files with 12 additions and 3 deletions

View File

@ -80,6 +80,8 @@ class FileActionSignalsMixin:
if [wid, tid] in [state.wid, state.tid]:
self.set_bottom_labels(tab)
return False
def do_file_search(self, widget, eve = None):
if not self.ctrl_down and not self.shift_down and not self.alt_down:

View File

@ -218,6 +218,7 @@ class TabMixin(GridMixin):
def do_focused_click(self, button):
button.grab_focus()
button.clicked()
return False
def set_path_entry(self, button = None, eve = None):
self.path_auto_filled = True

View File

@ -225,6 +225,8 @@ class TabMixin(GridMixin):
button.grab_focus()
button.clicked()
return False
def set_path_entry(self, button = None, eve = None):
self.path_auto_filled = True
state = self.get_current_state()

View File

@ -119,6 +119,8 @@ class PluginsController:
plugin.reference.run()
self._plugin_collection.append(plugin)
return False
def reload_plugins(self, file: str = None) -> None:
logger.info(f"Reloading plugins...")
parent_path = os.getcwd()

View File

@ -89,6 +89,8 @@ class IPCServer(Singleton):
conn.close()
break
return False
def send_ipc_message(self, message: str = "Empty Data...") -> None:
try: