Fixed the bug reported about the mail notification not beint sent until
1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-cal.c (mail_notify): Fixed the bug reported about the mail notification not beint sent until the program was terminated. svn path=/trunk/; revision=363
This commit is contained in:

committed by
Arturo Espinosa

parent
df67e4e802
commit
40be5aa2ab
@ -1,3 +1,8 @@
|
|||||||
|
1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gnome-cal.c (mail_notify): Fixed the bug reported about the mail
|
||||||
|
notification not beint sent until the program was terminated.
|
||||||
|
|
||||||
1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gncal-full-day.c (gncal_full_day_forall): Updated foreach ->
|
* gncal-full-day.c (gncal_full_day_forall): Updated foreach ->
|
||||||
|
@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
|
|||||||
"Subject: ", _("Reminder of your appointment at "),
|
"Subject: ", _("Reminder of your appointment at "),
|
||||||
ctime (&app_time), "\n\n", text, "\n", NULL);
|
ctime (&app_time), "\n\n", text, "\n", NULL);
|
||||||
write (p [1], command, strlen (command));
|
write (p [1], command, strlen (command));
|
||||||
|
close (p [1]);
|
||||||
|
close (p [0]);
|
||||||
g_free (command);
|
g_free (command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
|
|||||||
"Subject: ", _("Reminder of your appointment at "),
|
"Subject: ", _("Reminder of your appointment at "),
|
||||||
ctime (&app_time), "\n\n", text, "\n", NULL);
|
ctime (&app_time), "\n\n", text, "\n", NULL);
|
||||||
write (p [1], command, strlen (command));
|
write (p [1], command, strlen (command));
|
||||||
|
close (p [1]);
|
||||||
|
close (p [0]);
|
||||||
g_free (command);
|
g_free (command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user