Hello community, here is the log from the commit of package yast2-packager checked in at Thu Jun 22 18:36:43 CEST 2006. -------- --- yast2-packager/yast2-packager.changes 2006-06-20 17:00:09.000000000 +0200 +++ yast2-packager/yast2-packager.changes 2006-06-22 09:01:10.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 22 08:41:24 CEST 2006 - jsuchome@suse.cz + +- do not clear directory entry when Anonymous is (un)checked (#186849) +- 2.13.139 + +------------------------------------------------------------------- Old: ---- yast2-packager-2.13.138.tar.bz2 New: ---- yast2-packager-2.13.139.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.AF1Sqe/_old 2006-06-22 18:36:37.000000000 +0200 +++ /var/tmp/diff_new_pack.AF1Sqe/_new 2006-06-22 18:36:37.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-packager (Version 2.13.138) +# spec file for package yast2-packager (Version 2.13.139) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-packager -Version: 2.13.138 +Version: 2.13.139 Release: 1 License: GPL Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-packager-2.13.138.tar.bz2 +Source0: yast2-packager-2.13.139.tar.bz2 prefix: /usr BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-installation yast2-testsuite yast2-xml Requires: yast2 checkmedia yast2-country @@ -45,7 +45,7 @@ Arvin Schnell <arvin@suse.de> %prep -%setup -n yast2-packager-2.13.138 +%setup -n yast2-packager-2.13.139 %build %{prefix}/bin/y2tool y2autoconf @@ -82,6 +82,9 @@ %doc %{prefix}/share/doc/packages/yast2-packager %changelog -n yast2-packager +* Thu Jun 22 2006 - jsuchome@suse.cz +- do not clear directory entry when Anonymous is (un)checked (#186849) +- 2.13.139 * Tue Jun 20 2006 - jsrain@suse.cz - abort installation completly if package installation aborted (#186660) ++++++ yast2-packager-2.13.138.tar.bz2 -> yast2-packager-2.13.139.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.138/VERSION new/yast2-packager-2.13.139/VERSION --- old/yast2-packager-2.13.138/VERSION 2006-06-20 16:48:40.000000000 +0200 +++ new/yast2-packager-2.13.139/VERSION 2006-06-22 08:42:06.000000000 +0200 @@ -1 +1 @@ -2.13.138 +2.13.139 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.138/src/include/inst_source_dialogs.ycp new/yast2-packager-2.13.139/src/include/inst_source_dialogs.ycp --- old/yast2-packager-2.13.138/src/include/inst_source_dialogs.ycp 2006-06-20 16:45:20.000000000 +0200 +++ new/yast2-packager-2.13.139/src/include/inst_source_dialogs.ycp 2006-06-21 09:50:34.000000000 +0200 @@ -328,17 +328,18 @@ `RadioButton( `id( `samba ),`opt(`notify), _("&SMB/CIFS") ) ), `HStretch() ); - term get_directory_widget (any typ) { + term get_directory_widget (any typ, string dir) { +y2internal ("building widget with type %1", typ); return typ == `samba ? `VBox ( `TextEntry( `id( `dir ), // text entry - _("&Path to Directory or ISO Image"),urlpath), + _("&Path to Directory or ISO Image"),dir), // checkbox label - `Left (`CheckBox (`id(`ch_iso), _("ISO Image"),path_is_iso (urlpath))) + `Left (`CheckBox (`id(`ch_iso), _("ISO Image"),path_is_iso (dir))) ) : // text entry - `TextEntry( `id( `dir ), _("&Directory on Server"), urlpath ); + `TextEntry( `id( `dir ), _("&Directory on Server"), dir); } UI::OpenDialog( `opt( `decorated ), `HBox (`HSpacing (0.5), @@ -359,7 +360,7 @@ // text entry `TextEntry( `id( `server ), _("Server &Name"), host ), `ReplacePoint (`id (`share_rp), share_widget), - `ReplacePoint (`id(`dir_rp), get_directory_widget(type)), + `ReplacePoint (`id(`dir_rp), get_directory_widget(type,urlpath)), `HBox( `HSpacing( 0.5 ), // frame @@ -395,8 +396,8 @@ UI::SetFocus (`id (`server)); string url = ""; - any input = nil; + repeat { @@ -413,7 +414,10 @@ UI::ReplaceWidget (`id (`share_rp), `Empty ()); } - UI::ReplaceWidget (`id (`dir_rp), get_directory_widget (UI::QueryWidget (`id (`rb_type), `CurrentButton))); + UI::ReplaceWidget (`id (`dir_rp), get_directory_widget ( + UI::QueryWidget (`id (`rb_type), `CurrentButton), + (string) UI::QueryWidget (`id( `dir ), `Value )) + ); boolean anonymous = (boolean) UI::QueryWidget( `id( `anonymous ), `Value ); UI::ChangeWidget( `id( `username ), `Enabled, !anonymous ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org