[Gpe-list] Fwd: Patch for gpesummary to start gpecalendar when an alarm occurs

Gary Baribault gary at baribault.net
Mon Jun 2 22:57:19 CEST 2008


Sounds great, specially if we can test for summary being open when we 
close the calendar.

Gary B



Graham Cobb wrote:
> Andrew Olmsted has sent me a patch for gpesummary to allow it to monitor for 
> alarms and start gpe-calendar when an alarm fires.  This would mean it would 
> not be necessary to run gpe-calendar all the time (on the Nokia Internet 
> Tablets).  The patch is also attached to bug 188.
>
> It seems like a good idea to me.  I propose we implement this and also remove 
> the hack from gpe-calendar which means that it does not exit when the close 
> button is pressed.  That behaviour is not popular with users.  I'm not sure 
> if it is feasible to check whether gpesummary is running and display a 
> warning if it is not (and some alarms are set).
>
> Any comments?
>
> Note: I have not tested the patch yet, but Andrew reports that it works well 
> (see below).
>
> Graham
>
> ----------  Forwarded Message  ----------
>
> Subject: [lists] Patch for gpesummary to start gpecalendar when an alarm 
> occurs
> Date: Monday 02 June 2008
> From: "Andrew Olmsted" <andrew.olmsted at gmail.com>
> To: g+770 at cobb.uk.net
>
> Graham,
>
> I have written a small patch for gpesummary.  The added code monitors
> the alarms for the EventDB in the same manner GPE Calendar itself
> does.  When there is an alarm that needs to be fired, it sends a top
> message through the DBUS to launch gpecalendar.  This DBUS code is the
> same function that launches calendar on a click of the event portion
> of the applet.
>
> I have tested this patch both with calendar open and closed and it
> works as I expect it to.  It was built using
> gpesummary_2.8+maemo+svn20080509-2 as source.  I have included in this
> email the files built from dpkg-buildpackage (deb, tar, dsc, changes)
> and a patch file I created that just changes gpesummary.c as I wasn't
> sure which would be most useful.
>
> I hope this proves useful, as with this patch you no longer need to
> leave GPE Calendar open to receive alarm notifications.
>
> Thanks,
> Andrew
>
> -------------------------------------------------------
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gpe-list mailing list
> Gpe-list at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-list
>   



More information about the Gpe-list mailing list