Added dirty start check, added images to plugin buttons, cleanup

This commit is contained in:
2022-10-20 22:23:14 -05:00
parent 49ed89201a
commit 75da08d081
17 changed files with 81 additions and 50 deletions

View File

@@ -49,8 +49,8 @@ class FileSearchMixin:
GLib.idle_add(self.reset_file_list_box)
# NOTE: If query create new process and do all new loop.
self.pause_fifo_update = False
if query:
self.pause_fifo_update = False
GLib.idle_add(self._exec_find_file_query, query)
def _exec_find_file_query(self, widget=None, eve=None):

View File

@@ -1,5 +1,6 @@
# Python imports
import threading, subprocess, signal, json, shlex
import ctypes, threading, subprocess, signal, json, shlex
libgcc_s = ctypes.CDLL('libgcc_s.so.1')
# Lib imports
import gi
@@ -49,8 +50,8 @@ class GrepSearchMixin:
GLib.idle_add(self.reset_grep_box)
# NOTE: If query create new process and do all new loop.
self.pause_fifo_update = False
if query:
self.pause_fifo_update = False
GLib.idle_add(self._exec_grep_query, query)
def _exec_grep_query(self, widget=None, eve=None):