Added dirty start check, added images to plugin buttons, cleanup
This commit is contained in:
@@ -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):
|
||||
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user