changeset 419:b047d14e4be5

notifs: fixed desktop notification duration
author Goffi <goffi@goffi.org>
date Wed, 26 Feb 2020 16:32:27 +0100
parents 8a9bfe3fb9c6
children 83d184393fe1
files cagou/core/cagou_main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Sun Feb 23 17:49:53 2020 +0100
+++ b/cagou/core/cagou_main.py	Wed Feb 26 16:32:27 2020 +0100
@@ -1056,7 +1056,7 @@
             callback=callback, cb_args=cb_args, widget=widget, profile=profile)
         self.desktop_notif(message, title=subject)
 
-    def desktop_notif(self, message, title='', duration=5000):
+    def desktop_notif(self, message, title='', duration=5):
         global notification
         if notification is not None:
             try: