[Gpe-list] Fwd: Patch for gpesummary to start gpecalendar when an alarm occurs
Lars Persson Fink
lars.p.fink at gmail.com
Tue Jun 3 07:56:04 CEST 2008
I agree with Gary. But it would be even better if it was integrated
with Maemo alarm framework.
Thanks for all hard work.
/Lars
On Mon, 02 Jun 2008 16:57:19 -0400
Gary Baribault <gary at baribault.net> wrote:
> 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
> >
>
> _______________________________________________
> Gpe-list mailing list
> Gpe-list at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-list
--
Lars Persson Fink hem: 08 722 42 15
Häradsdomarvägen 11 mob: 070 334 35 97
128 38 Skarpnäck
More information about the Gpe-list
mailing list