Tuesday, July 3, 2007

Korganizer with kicker clock applet integration - 2

Hello world

I didn't expect that much answers from my previous blog entry...
What's so special with this clock applet - korganizer integration ? I don't use KOrganizer (my brain is not compatible with such applications : I'm far too messy) so perhaps I'm missing something here...
Thanks to Tobias Koenig for his suggestion about the KDCOPServiceStarter. I didn't know this, and it's quite great. Now the code is far less ugly. So the new patch can be downloaded here. That's the only change I made, sorry I had no time to look at the duration of events.
For the upstream inclusion :
1- I'm not sure there will be a new KDE 3.5 release... I'd prefer a KDE 4.0 sooner if possible.
2- This patch introduces a new dependency in kdebase. If somebody want to look at the weird autotools and make this optional, then perhaps the patch could be accepted, but I'm not sure...
BTW, I'll look at KDE4 tomorrow and forward-port the patch if needed.

11 comments:

Tim said...

In order to remove the dependency on kdepim you could give the calendar a generic events interface.

For example, apps could register the fact that they provide events by installing files somewhere. For example:

/usr/share/events/korganiser
/usr/share/events/facebook
/usr/share/events/google-calendar

Then the calendar would have an options dialog allowing you to choose which sources to use.

It could periodically check for new events (e.g. from facebook), or be told about them via d-bus (so it reacts to changes in korganiser quickly).

Probably quite a lot of work though.

Anonymous said...

It would be cool if the user could right-click a day on the clock calendar and a choose "New Event", which would open just the "New Event" dialog of Korganizer. Is it possible to open just the dialog and save the event back to Korg?

Pinaraf said...

Hi tim

Sorry, that's really impossible, I don't have time to do that. I said in my previous blog entry that I did this patch for a friend. It wasn't even meant to be published...

Pinaraf said...

Hi louis

I can do it, but it'll open KOrganizer, I can't do another way...

Anonymous said...

There should be another KDE 3 release, but it'll be bugfix-only. I doubt the release team will accept this patch. However, that won't stop distributions using it.

Anonymous said...

Will it just open Korganizer, or will it open Korganizer with the "New Event" dialog open? Opening Korganizer isn't really a problem for me. Thanks for doing this. It's something I've been wanting for a while!

Pinaraf said...

louis :
No, it'll open the new event dialog.
I'll do that tonight...

dundacil said...

Pierre, perhaps I am asking too much, but have you thought about integrating the KDE clock and Evolution? Quite a few people do use KDE and Evolution, not KOrganizer/KMail. Of course, one could always sync Evolution and KOrganizer, but it sounds like a horrible kludge. Thanks for the good work, by the way!

Pinaraf said...

Integration with evolution ? No way. I won't do that because :
1- I don't want to maintain this patch, I'm already fed up with it and I'm not even motivated to do what was asked because development with Qt3/KDE3 is much less cool than with Qt4/KDE4.
2- I'm not sure it's possible without heavy heavy hacking. The library provided by evolution seems to rely on the glib event loop, and you just can't have the glib event loop + Qt3 event loop in the same application. Perhaps is there a DBus interface for evolution, but then I'd have to find how to use DBus with Qt3...

Anonymous said...

The problem with anything like this is time and resources, people want coding but also expect someone to maintain it and it is not always feasable.

ettesa said...

I agree shareware and free code is great but they also expect maintenance of the code, I wrote a piece of code to adapt a game console to interface fully with a large screen argos lcd tv but I was inundated with peole wanting me to adapt it.