increase the timeout of popup warnings
this are generally things that the user needs to read and fix the popups can always be re-read in the notification panel
This commit is contained in:
parent
aa4603af69
commit
8eb70764af
@ -374,7 +374,8 @@ class KlipperScreen(Gtk.Window):
|
|||||||
if self.popup_timeout is not None:
|
if self.popup_timeout is not None:
|
||||||
GLib.source_remove(self.popup_timeout)
|
GLib.source_remove(self.popup_timeout)
|
||||||
self.popup_timeout = None
|
self.popup_timeout = None
|
||||||
self.popup_timeout = GLib.timeout_add_seconds(10, self.close_popup_message)
|
timeout = 300 if level == 2 else 10
|
||||||
|
self.popup_timeout = GLib.timeout_add_seconds(timeout, self.close_popup_message)
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user