[Pkg-wmaker-commits] [wmforecast] 04/14: If we have an error, refresh in one minute. (Fixes: #1)
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Apr 3 19:39:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmforecast.
commit 1db85028cd227d537a362de698edb36bfff03731
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Fri Apr 1 15:18:39 2016 -0400
If we have an error, refresh in one minute. (Fixes: #1)
---
wmforecast.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/wmforecast.c b/wmforecast.c
index 364a989..a1a00ff 100755
--- a/wmforecast.c
+++ b/wmforecast.c
@@ -552,6 +552,9 @@ static void updateDockapp(void *data)
WMSetBalloonTextForView(weather->errorText,
WMWidgetView(dockapp->icon));
+
+ /* try again in 1 minute */
+ dockapp->minutesLeft = 1;
} else {
WMSetLabelText(dockapp->text, wstrconcat(weather->temp, "°"));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmforecast.git
More information about the Pkg-wmaker-commits
mailing list