[yast-devel] EmbeddablePackageCallbacks
Greetings all, I've created a separate EmbeddablePackageCallbacks , should mean you can try it without breaking everything that uses the existing callbacks. It's rather hacky atm, but is semi functional. ymp installation: http://bw.uwcs.co.uk/new_callbacks/new_callbacks_oci.ogg sw_single starting: http://bw.uwcs.co.uk/new_callbacks/new_callbacks.ogg You'll need in YaST/modules http://bw.uwcs.co.uk/new_callbacks/EmbeddablePackageCallbacks.ycp [new file, needs ycpc -c] http://bw.uwcs.co.uk/new_callbacks/PackageCallbacksInit.ycp [replaces existing file, needs ycpc -c] And to try out in YaST/clients http://bw.uwcs.co.uk/new_callbacks/sw_single.ycp http://bw.uwcs.co.uk/new_callbacks/OneClickInstallWorker.ycp modified to use embedded progress bars instead of popups. -- Benjamin Weber -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Hi Benji, Great work! I love your callbacks. If only it was possible to use them out of the box without having to modify each place where they are used (perhaps some changes in the callbacks can handle it at least in some of the situations). I'd like to change to using this callback set for 11.0. We can have both callback implementations in SVN in parallel until we adapt all needed code, each module will choose which ones to use (we just have to duplicate PackageCallbacksInit.ycp file) and can adapt at least some of the modules. Since a lot of modules share the code, it should not be much work. I will figure out how to proceed tomorrow. Cheers, Jiri Dne Monday 05 of November 2007 13:51:39 Benji Weber napsal(a):
Greetings all,
I've created a separate EmbeddablePackageCallbacks , should mean you can try it without breaking everything that uses the existing callbacks. It's rather hacky atm, but is semi functional.
ymp installation: http://bw.uwcs.co.uk/new_callbacks/new_callbacks_oci.ogg sw_single starting: http://bw.uwcs.co.uk/new_callbacks/new_callbacks.ogg
You'll need in YaST/modules http://bw.uwcs.co.uk/new_callbacks/EmbeddablePackageCallbacks.ycp [new file, needs ycpc -c] http://bw.uwcs.co.uk/new_callbacks/PackageCallbacksInit.ycp [replaces existing file, needs ycpc -c]
And to try out in YaST/clients
http://bw.uwcs.co.uk/new_callbacks/sw_single.ycp http://bw.uwcs.co.uk/new_callbacks/OneClickInstallWorker.ycp
modified to use embedded progress bars instead of popups.
-- Benjamin Weber
-- Regards, Jiri Srain YaST Team Leader --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz
On 05/11/2007, Jiri Srain
each module will choose which ones to use (we just have to duplicate PackageCallbacksInit.ycp file) and can adapt at least some of the modules.
The PackageCallbacksInit.ycp there has a global void SetCallbackImpl(string value) I was using to avoid breaking the other modules for the moment. -- Benjamin Weber -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Benji Weber
-
Jiri Srain