[Xfce4-commits] r13694 - xfcalendar/trunk/src
Brian J. Tarricone
bjt23 at cornell.edu
Wed Apr 20 01:52:45 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey all,
The below commit message, and the one after it, are dupes, in case you
were wondering. Just testing my mod to the svn-commit-mail.pl script.
Commits messages should now all come from whomever made the commit.
Auke, if you want it, my modified copy is in /home/kelnos/bin. Might
want to fix ownership on the post-commit file in the tree as well, if it
matters. Is there a recommended way of editing that file that doesn't
involve opening it in a text editor?
-brian
juha at xfce.org wrote:
> Author: juha
> Date: 2005-04-19 20:54:38 +0000 (Tue, 19 Apr 2005)
> New Revision: 13694
>
> Modified:
> xfcalendar/trunk/src/reminder.c
> Log:
> give only one error when play fails. (Instead of looping and giving
> error each 2 seconds and filling logs...)
>
>
> Modified: xfcalendar/trunk/src/reminder.c
> ===================================================================
> --- xfcalendar/trunk/src/reminder.c 2005-04-19 20:47:18 UTC (rev 13693)
> +++ xfcalendar/trunk/src/reminder.c 2005-04-19 20:54:38 UTC (rev 13694)
> @@ -54,9 +54,11 @@
> /* note: -1 loops forever */
> if (audio_alarm->cnt != 0) {
> status = xfce_exec(audio_alarm->play_cmd, FALSE, FALSE, &error);
> - if (!status)
> + if (!status) {
> g_warning("play failed\n");
> - if (audio_alarm->cnt > 0)
> + audio_alarm->cnt = 0; /* one warning is enough */
> + }
> + else if (audio_alarm->cnt > 0)
> audio_alarm->cnt--;
> }
> else { /* cnt == 0 */
>
> _______________________________________________
> Xfce4-commits mailing list
> Xfce4-commits at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-commits
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFCZZnN6XyW6VEeAnsRAhyyAKDXNYFW72Uj4U6pIPcNynRMQYmM7QCg1rHK
8BDqwGNAcFvs6edGqIaYgbI=
=Vc4F
-----END PGP SIGNATURE-----
More information about the Xfce4-dev
mailing list