Author: jsuchome Date: Wed Oct 17 13:29:09 2007 New Revision: 41446 URL: http://svn.opensuse.org/viewcvs/yast?rev=41446&view=rev Log: - fix modifying of repository (#334208) - check for duplicates in the list of boot images (#332581) - disable Delete button when there's nothing to delete (#334255) - 2.13.16 Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes branches/SuSE-SLE-10-SP1-Branch/product-creator/src/kiwi_dialogs.ycp Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION?rev=41446&r1=41445&r2=41446&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION (original) +++ branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION Wed Oct 17 13:29:09 2007 @@ -1 +1 @@ -2.13.15 +2.13.16 Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes?rev=41446&r1=41445&r2=41446&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes (original) +++ branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes Wed Oct 17 13:29:09 2007 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Oct 16 23:37:05 CEST 2007 - jsuchome@suse.cz + +- fix modifying of repository (#334208) +- check for duplicates in the list of boot images (#332581) +- disable Delete button when there's nothing to delete (#334255) +- 2.13.16 + +------------------------------------------------------------------- Mon Oct 15 16:41:48 CEST 2007 - jsuchome@suse.cz - update defaultroot only for new configurations (#327057) Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/src/kiwi_dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/product-creator/src/kiwi_dialogs.ycp?rev=41446&r1=41445&r2=41446&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP1-Branch/product-creator/src/kiwi_dialogs.ycp (original) +++ branches/SuSE-SLE-10-SP1-Branch/product-creator/src/kiwi_dialogs.ycp Wed Oct 17 13:29:09 2007 @@ -1533,11 +1533,15 @@ if (type_its != []) type_items = type_its; } - if (!contains (["iso", "xen", "usb", "vmx"], kiwi_task)) - type_items = add (type_items, - `item (`id (kiwi_task), task2label[kiwi_task]:kiwi_task, true)); list present_types = maplist ( term it, (list<term>)type_items, ``(it[0,0]:"")); + if (!contains (["iso", "xen", "usb", "vmx"], kiwi_task) && + !contains (present_types, kiwi_task)) + { + type_items = add (type_items, + `item (`id (kiwi_task), task2label[kiwi_task]:kiwi_task, true)); + present_types = add (present_types, kiwi_task); + } // on start, show the default YaST sources if (Config["sources"]:[] != [] && repositories == $[]) @@ -1558,6 +1562,7 @@ string url, map repo, repositories, ``( `item (`id (url), url)) )); + UI::ChangeWidget (`id (`delete), `Enabled, size (repositories) > 0); } // read the new configuration and update UI accordingly @@ -1801,10 +1806,10 @@ url = URL::Build (parsed); } url = SourceDialogs::EditPopup (url); - if (url == "" || url == nil || url == selected_url); + if (url == "" || url == nil || url == selected_url) continue; // remove current url + add new one - repositories = remove (repositories, url); + repositories = remove (repositories, selected_url); map parsed = URL::Parse(url); if (parsed["scheme"]:"" == "pkg") { @@ -1821,6 +1826,8 @@ { string selected = (string) UI::QueryWidget (`id (`repositories), `CurrentItem); + if (selected == nil) + continue; repositories = remove (repositories, selected); update_repo_table (); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org