GLib idle add return effort 2

This commit is contained in:
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()
@@ -241,4 +243,4 @@ class TabMixin(GridMixin):
tab = self.get_fm_window(wid).get_tab_by_id(tid)
tab.set_hiding_hidden(not tab.is_hiding_hidden())
tab.load_directory()
self.builder.get_object("refresh_tab").released()
self.builder.get_object("refresh_tab").released()