From: Mattias E. <mat...@si...> - 2003-08-14 07:09:44
|
Hi, I did some coding that resulted primary in a software manager for GNOME and some improvements to the trayicon. I however touched some other stuff to in order to make things work. The stuff is found at http://www.acc.umu.se/~snaggen/syncestuff/ librapi2_m4.patch and rra_m4.patch: Minor changes to just install the m4-files, this is needed to make it possible to build the synce-software-manager. synce-software-manager.tar.gz: This is the software manager, you can view installed files and install/uninstall files. You currently have to press refresh for it to fetsh the list from the PDA. For some reason it doesn't work to do this on the mainwindows show signal, and I want the mainwindow and the gtk_main loop to start up before I start fetshing stuff from the PDA. librapi2.pcommon.patch: A patch to avoid a possible segfault. In the anycopy function a string that we get as a parameter is manipulated, but if it is a static string it will crash. I learned it the hard way... there are some cut and paste in the software manager ;-) trayicon.patch: Added sessionhandling, added menu entries to open synce:/// and the software manager. dccm does still have to be started manually, the trayicon should probably start it... but this has still to be done. Since this work makes the synce gnome-vfs module, trayicon and the synce-software-manager quite dependent on each other (or atleast makes the trayicon depend on the other two), shouldn't they be packaged as one synce-gnome package? But I guess that is up to the packagers to decide, it was just a thought. What is left to do: General: * I18N - Some one should make it possible to translate all the different modules * HIG:ify - The gnome stuff should be made to comply to the GNOME hig. Synce-software-manager: * Load the software list at startup. * Add commandline stuff. * Use gnome-vfs (and the synce-module) where possible, to minimize the amount of duplicated code. * Add entries in nautilus context menu. * Register the cab-file mime-entry. * .desktop file for the gnome-application menu (and create an icon) * Session handling * Proof-read my english, this is probably badly needed. Trayicon: * Menu entry, to make it easier to start using the synce stuff. And since the trayicon might work as the center for the synce-stuff it should have a menu-entry. * Start dccm, maybe libgtop should be used to detect if dccm is already running? Multisync: * Automatically select a partnership to use, if no suitable partnership exists start the druid. * Remove partnership. * Make sure that 2 partnerships doesn't get the same name. It will be hard to automatically select the correct one if they are both called the same. Well that is the todo for the stuff I have been working with, I guess David has more todos for this and the rest of synce. The tasks in this todo is not just coding stuff, and many tasks are not very hard to do someone just has to do it. So anyone can feel free to help out here. One easy non-coding task that I think is important is the I18N-stuff to make things translatable, it consists of setting up the po/ directory and build stuff for the different modules. And if you like to do the easy coding add init of the gettext and add _() around the translatable strings... David, can you (or someone else) review and commit these patches. And add the software manager to a cvs module. //Snaggen -- Mattias Eriksson <mat...@si...> Simovits Consulting |