[Goodies-dev] [PATCH 0/4] xfce4-datetime-plugin: Add reminders

Olivier Brunel jjk at jjacky.com
Sun May 13 21:43:03 CEST 2018


Hey there,

So, the story goes, for some time I've been looking for a way to have
"reminders", that is be reminded (via some sort of popup/window) of things to
do at a given time.  It's a pretty classic feature of calendar applications, but
I did not want to have to install & use such a full blown app, even a
lightweight one such as Orage.

What I wanted was really a small & simple way to get reminders on a given date &
time, nothing else. And because I use xfce4-panel and a plugin (internal Clock)
to get the time, I always thought it'd be perfect if that could be it: I can
already open up a calendar, if I could just add reminders for specific times,
it'd would be perfect.

Eventually, I started looking into this idea more, found the external plugin
datetime that also offers the same popup calendar, and decided it'd be a great
place to add such a feature. And here we are :)

tl;dr: This patchset is about adding so-called reminders to the panel's datetime
plugin, keeping things pretty small & simple. And optional, so people who don't
want the bloat can easilly turn it off at configure time.

Hopefully this may find some interest from other people,
Cheers.


Olivier Brunel (4):
  datetime.h: Add missing include
  Fix button refresh after suspend for Linux only
  Add calendar popup menu to go to/select today
  Add reminders

 configure.ac.in                  |  30 ++
 panel-plugin/Makefile.am         |  24 ++
 panel-plugin/datetime.c          | 163 +++++++-
 panel-plugin/datetime.h          |  26 ++
 panel-plugin/remind-data.c       | 281 +++++++++++++
 panel-plugin/remind-data.h       |  29 ++
 panel-plugin/remind-ptrarr.c     | 218 ++++++++++
 panel-plugin/remind-ptrarr.h     |  37 ++
 panel-plugin/remind-ui-edit.c    | 848 +++++++++++++++++++++++++++++++++++++++
 panel-plugin/remind-ui-edit.h    |  63 +++
 panel-plugin/remind-ui-expired.c | 641 +++++++++++++++++++++++++++++
 panel-plugin/remind-ui-expired.h |  41 ++
 panel-plugin/remind-ui-list.c    | 660 ++++++++++++++++++++++++++++++
 panel-plugin/remind-ui-list.h    |  29 ++
 panel-plugin/remind-ui.c         | 482 ++++++++++++++++++++++
 panel-plugin/remind-ui.h         |  66 +++
 panel-plugin/remind.c            | 392 ++++++++++++++++++
 panel-plugin/remind.h            |  63 +++
 panel-plugin/rt_timeout.c        | 143 +++++++
 panel-plugin/rt_timeout.h        |  30 ++
 20 files changed, 4259 insertions(+), 7 deletions(-)
 create mode 100644 panel-plugin/remind-data.c
 create mode 100644 panel-plugin/remind-data.h
 create mode 100644 panel-plugin/remind-ptrarr.c
 create mode 100644 panel-plugin/remind-ptrarr.h
 create mode 100644 panel-plugin/remind-ui-edit.c
 create mode 100644 panel-plugin/remind-ui-edit.h
 create mode 100644 panel-plugin/remind-ui-expired.c
 create mode 100644 panel-plugin/remind-ui-expired.h
 create mode 100644 panel-plugin/remind-ui-list.c
 create mode 100644 panel-plugin/remind-ui-list.h
 create mode 100644 panel-plugin/remind-ui.c
 create mode 100644 panel-plugin/remind-ui.h
 create mode 100644 panel-plugin/remind.c
 create mode 100644 panel-plugin/remind.h
 create mode 100644 panel-plugin/rt_timeout.c
 create mode 100644 panel-plugin/rt_timeout.h

-- 
2.15.1



More information about the Goodies-dev mailing list