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:
alfrix committed 2024-01-03 17:00:14 -03:00
1 parent aa4603af69
commit 8eb70764af
1 file changed
+2 -1
+2 -1
View File
@@ -374,7 +374,8 @@ class KlipperScreen(Gtk.Window):
if self.popup_timeout is not None:
GLib.source_remove(self.popup_timeout)
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