develop #1

Merged
itdominator merged 14 commits from develop into master 2022-01-30 00:22:36 +00:00
4 changed files with 29 additions and 21 deletions
Showing only changes of commit 59d67874ad - Show all commits

View File

@ -64,3 +64,4 @@ class Builtins(IPCServerMixin):
builtins.event_system = Builtins()
builtins.event_sleep_time = 0.2
builtins.debug = False
builtins.trace_debug = False

View File

@ -13,8 +13,11 @@ from __builtins__ import Builtins
class Main(Builtins):
def __init__(self, args, unknownargs):
if not debug:
event_system.create_ipc_server()
time.sleep(0.2)
if not trace_debug:
if not event_system.is_ipc_alive:
if unknownargs:
for arg in unknownargs:

View File

@ -24,6 +24,8 @@ class WindowController:
self.active_window_id = ""
self.active_tab_id = ""
self.windows = []
if not trace_debug:
self.fm_event_observer()
@threaded

View File

@ -31,6 +31,8 @@ class Controller(WidgetFileActionMixin, PaneMixin, WindowMixin, ShowHideMixin, \
self.window.connect("delete-event", self.tear_down)
GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGINT, self.tear_down)
if not trace_debug:
self.gui_event_observer()
if unknownargs: