Wait 4 minutes before checking and showing SRPMS updates dialog
This commit is contained in:
parent
ebfc69401e
commit
7a19d554b3
@ -84,7 +84,8 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
|
|||||||
|
|
||||||
# the first time refresh packages cache after 5 minutes
|
# the first time refresh packages cache after 5 minutes
|
||||||
refreshPackagesTimer.start( 5 * 60000 )
|
refreshPackagesTimer.start( 5 * 60000 )
|
||||||
checkSRPMSUpdatesTimer.start( 6000 )
|
# the first time check for SRPMS updates after 4 minutes
|
||||||
|
checkSRPMSUpdatesTimer.start( 4 * 60000 )
|
||||||
|
|
||||||
def iconActivated(self, reason):
|
def iconActivated(self, reason):
|
||||||
if reason in (QtGui.QSystemTrayIcon.Trigger, QtGui.QSystemTrayIcon.DoubleClick):
|
if reason in (QtGui.QSystemTrayIcon.Trigger, QtGui.QSystemTrayIcon.DoubleClick):
|
||||||
|
Loading…
Reference in New Issue
Block a user