Skip to content

Commit

Permalink
better and less scary message when sdwdate is not yet running after boot
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Apr 22, 2016
1 parent c0a88e2 commit 31d81e0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions usr/lib/python2.7/dist-packages/sdwdate_gui/sdwdate_gui.py
Expand Up @@ -85,10 +85,8 @@ def __init__(self, parent=None):
self.status_changed()
self.watch_file()
else:
self.setIcon(QtGui.QIcon('/usr/share/icons/oxygen/16x16/status/dialog-error.png'))
error_msg = '''<b>sdwdate is not running</b><br>
Try to restart it: Right click -> Restart sdwdate<br>
If the icon stays red, please report this bug.'''
self.setIcon(QtGui.QIcon('/usr/share/icons/sdwdate-gui/620px-Ambox_outdated.svg.png'))
error_msg = 'sdwdate will probably start in a few moments.'
self.message = error_msg
self.setToolTip(error_msg)
self.watcher_2 = watcher([self.path])
Expand Down

0 comments on commit 31d81e0

Please sign in to comment.