GNOME Bugzilla – Bug 127522
Contact search applet
Last modified: 2004-12-22 21:47:04 UTC
A panel applet where you can type in a search term and get matching contact cards. The applet should reside in its own package, not in Evolution proper. Once the wanted person is found in the list, one can click on it and the following popup window is shown with the address card and some relevant action buttons. If the user is not online, one should just display the label as "GFlash is not online." This bug is part of the Integrated Collaborative Desktop Bounty Hunt. For more information on prizes, contest rules, and other bounty tasks, visit: http://www.gnome.org/bounties/ If you would like to start working on this bounty, please create a bugzilla account and append your intention to work on this bounty to this bug. If multiple people declare their intentions to work on a task, we encourage you to join forces and work together. Please do not close this bug. The contest organizers will mark this bug as FIXED when the prize is claimed.
Please see http://www.gnome.org/bounties/Addressbook.php3#127522 for more information.
I have a panel applet which can search the default address book and display the results to the user in a window. I presume this code has to be against evo HEAD? This is a problem for me as the addressbook isn't working for me... I'll try and debug it. Once ported to the new API (I've scoped this, it's a trivial task) I just have to change to the autocompleting text box and change the window used to display. Are the glade files used in the mock up available for me?
Well just for the hell of mentioning it. I already work on a more general "Open Applet" (OpenApplet in gnomecvs) which lets you open urls and run programs. From a ui point of view it would make alot more sense to have all of this integrated into a single panel applet with multiple functionalities since the ui is virtually the same, the completion results are just slightly different.
Created attachment 21707 [details] Glade files and bitmaps for the mockup.
I've attached the glade file we used in the mockup.
Yes, all patches have to be against the Evolution 2.0 APIs.
I will work on it.
Some comments: if that is the same .zip file tigert mailed me, its password protected (but the password is ""). I've fixed the bug which stopped the addressbook in HEAD working for me, so my applet is now searching the Evo2 addressbook. There is no provision for a video conferencing field in EContact, so I'll be ignoring that for now. Also the AIM/whatever integration will be incredibly difficult (i.e. copy all of gaim) until libgaim is available. huzung: it appears the race is on ;)
Is it allowed to implement the applet using Mono?
to: Ross Burton It is not good that we are doing the duplicate work, oh, but i know, OK, race :)
http://www.burtonini.com/computing/contact-lookup-applet-0.1.tar.gz contains my first implementation of this. It requires a few patches to evolution-data-server to make e_book_async_load_default_addressbook() actually work, I'll try andget these in the tree soon. IM integration is missing as there is now way to talk to GAIM about presence, and libgaim does not exist yet. Video conferencing is missing as there is no field in EContact for that yet, I'll add this soon and turn on the UI. I'm seeing strange bugs with missing phone numbers. Not sure what is going on here but I'll fix this shortly.
Oh, my applet doesn't yet do autocompleting. This is also on the TODO list, and at the moment if multiple results are found only the first is displayed.
I think I heard that there is autocompletion support in the new GtkComboBox - maybe you could use that instead of reinventing. It is used in Ephiphany 1.1 afaik.
I won't be reinventing the wheel as I plan on simply taking the auto-completing widgets from Evolution. I've now got source selection nearly working, which is nice.
http://www.burtonini.com/computing/contact-search-applet-0.2.tar.gz is my latest version. Not much left to do now, only auto-completion.
Auto-completion is working! Yay! 0.3 coming once I've sorted out some bugs.
0.3 is out. http://www.burtonini.com/computing/contact-lookup-applet-0.3.tar.gz
0.4 is out. http://www.burtonini.com/computing/contact-lookup-applet-0.4.tar.gz Doesn't do IM integration yet, sadly.
Accepted.