Hi all, Because of bug https://bugzilla.novell.com/show_bug.cgi?id=381956 I added `opt(`repoMgr) option to the `PackageSelector widget (default is off now). The option enables starting repository management from the package selector directly. If you want to display the "Repository" menu in your module you should: * if `PackageSelector is used directly: add `opt(`repoMgr) option and handle `repo_mgr result - the best idea is to call WFM::CallFunction( "repositories", [ `sw_single_mode ]); `sw_single_mode means that the packages in the pool should be refreshed after adding/removing a repository) and then display the package selector again. * if inst_packages.ycp client is used call: symbol result = (symbol)WFM::CallFunction( "inst_packages",[`searchMode, `repoMgr]); in a loop (`repoMgr parameter enables the menu). If `repo_mgr is returned start repositories.ycp (see the previous paragraph) and then inst_packages.ycp again. Check your code and decide whether the "Repository" option makes sense in your modules adapt them according the steps above. Especially check for installation/running system. If you have any questions just ask me... (The `opt(`repoMgr) option is currently supported by Qt UI only.) Ladislav -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org