MCPcopy Create free account
hub / github.com/PlayOnLinux/POL-POM-4 / TimerAction

Method TimerAction

python/mainwindow.py:532–541  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

530 return gui_server.readAction(self)
531
532 def TimerAction(self, event):
533 self.StatusRead()
534
535 # We read shortcut folder to see if it has to be rescanned
536 currentShortcuts = os.path.getmtime(Variables.playonlinux_rep + "/shortcuts")
537 currentIcons = os.path.getmtime(Variables.playonlinux_rep + "/icones/32")
538 if (currentShortcuts != self.Timer_LastShortcutList or currentIcons != self.Timer_LastIconList):
539 self.Reload(self)
540 self.Timer_LastShortcutList = currentShortcuts
541 self.Timer_LastIconList = currentIcons
542
543 def StatusRead(self):
544 self.sb.SetStatusText(self.updater.sendToStatusBarStr, 0)

Callers

nothing calls this directly

Calls 2

StatusReadMethod · 0.95
ReloadMethod · 0.95

Tested by

no test coverage detected