improve the speed of the updates, also affects showing panels
This commit is contained in:
parent
efebea2c36
commit
8ebc855ddd
@ -724,12 +724,10 @@ class KlipperScreen(Gtk.Window):
|
|||||||
)
|
)
|
||||||
self.process_update(action, data)
|
self.process_update(action, data)
|
||||||
|
|
||||||
def process_update(self, action, data):
|
def process_update(self, *args):
|
||||||
self.base_panel.process_update(action, data)
|
GLib.idle_add(self.base_panel.process_update, *args)
|
||||||
for x in self.subscriptions:
|
for x in self.subscriptions:
|
||||||
self.panels[x].process_update(action, data)
|
GLib.idle_add(self.panels[x].process_update, *args)
|
||||||
if "job_status" in self._cur_panels:
|
|
||||||
self.panels["job_status"].process_update(action, data)
|
|
||||||
|
|
||||||
def _confirm_send_action(self, widget, text, method, params=None):
|
def _confirm_send_action(self, widget, text, method, params=None):
|
||||||
buttons = [
|
buttons = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user