ulc-devs team mailing list archive
-
ulc-devs team
-
Mailing list archive
-
Message #00029
Contacts Lens Dev Update
Hello all,
I just managed to get the contacts lens daemon integrated into the quickly
template.
I'm not 100% sure if I did the right thing (it took me a while to figure
out how this template works and what files are being called and initialized
etc.) but it seems to be working. You should be able to grep the source,
package it and install the lens:
bzr branch lp:~patrickseemann/unity-lens-contacts/ulc-patrick
cd ulc-patrick
quickly package
sudo dpkg -i ../unity-lens-contacts_0.1_all.deb
I added some lines to the __init__.py file in the unity_lens_contacts
folder to setup the dbus connection and finally run an instance of the
Daemon class, which is located in the lensdaemon.py file in the same folder.
If you have any other ideas for better naming of the files (lensdaemon.py),
please feel free to tell me :) I wasn't sure if there are already some
naming conventions that we (should) follow?!
I didn't add any useful functionality to the lens. I just wanted it to work
basically. So when you type some letters into the search box, it just sorts
them in categories (lower case, upper case).
Just to get clear on how the development workflow works:
- I branch the code from our main repository
- I make my changes
- I push everything to my own repository (does it matter what I call this?,
e.g. this time I named it simply ulc-patrick)
- someone (Frederik) merges my changes into our main repository
- and then start at the top again
Is that correct?
Regards,
--
Patrick Seemann
launchpad: ~patrickseemann
irc.freenode.net: patsee14
Follow ups