template fix, logic fix, file monitor change

This commit is contained in:
itdominator 2022-02-19 22:46:54 -06:00
parent 918eec1053
commit f79aa4e852
4 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,7 @@ class Main:
self._event_system = event_system
self._socket_id = socket_id
self._gtk_plug = Gtk.Plug.new(self._socket_id)
button = Gtk.Button(label=label=self._plugin_name)
button = Gtk.Button(label=self._plugin_name)
self._message = None
self._time_out = 5

View File

@ -128,8 +128,7 @@ class Controller(UIMixin, KeyboardSignalsMixin, IPCSignalsMixin, ExceptionHookMi
def do_action_from_menu_controls(self, widget, eventbutton):
action = widget.get_name()
self.ctrlDown = True
action = widget.get_name()
self.hide_context_menu()
self.hide_new_file_menu()
self.hide_edit_file_menu()

View File

@ -65,7 +65,7 @@ class WidgetFileActionMixin:
def dir_watch_updates(self, file_monitor, file, other_file=None, eve_type=None, data=None):
if eve_type in [Gio.FileMonitorEvent.CREATED, Gio.FileMonitorEvent.DELETED,
Gio.FileMonitorEvent.RENAMED, Gio.FileMonitorEvent.MOVED_IN,
Gio.FileMonitorEvent.MOVED_OUT, Gio.FileMonitorEvent.CHANGES_DONE_HINT]:
Gio.FileMonitorEvent.MOVED_OUT]:
if debug:
print(eve_type)

Binary file not shown.