[yast-commit] r57014 - in /trunk/packager: package/yast2-packager.changes src/modules/SourceDialogs.ycp
Author: lslezak Date: Tue Apr 28 17:10:14 2009 New Revision: 57014 URL: http://svn.opensuse.org/viewcvs/yast?rev=57014&view=rev Log: - use URL.ycp for processing smb:// URLs (bnc#495109) Modified: trunk/packager/package/yast2-packager.changes trunk/packager/src/modules/SourceDialogs.ycp Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=57014&r1=57013&r2=57014&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Tue Apr 28 17:10:14 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Apr 28 16:33:41 CEST 2009 - lslezak@suse.cz + +- use URL.ycp for processing smb:// URLs (bnc#495109) + +------------------------------------------------------------------- Thu Apr 23 17:16:36 CEST 2009 - lslezak@suse.cz - added a new progress dialog when registering a new repository, Modified: trunk/packager/src/modules/SourceDialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/modules/SourceDialogs.ycp?rev=57014&r1=57013&r2=57014&view=diff ============================================================================== --- trunk/packager/src/modules/SourceDialogs.ycp (original) +++ trunk/packager/src/modules/SourceDialogs.ycp Tue Apr 28 17:10:14 2009 @@ -1262,7 +1262,7 @@ { string workgroup = (string)UI::QueryWidget (`id (`workgroup), `Value); if (type == `samba && size (workgroup) > 0) - directory = directory + ";workgroup=" + workgroup; + parsed["domain"] = workgroup; } parsed["path"] = directory; @@ -1494,14 +1494,7 @@ dir = sharepath[1]:""; if (dir == nil) dir = "/"; - string workgroup = ""; - if (regexpmatch (dir, "^.*;workgroup=[^;]+$")) - { - workgroup = regexpsub (dir, - "^.*;workgroup=([^;]+)$", "\\1"); - dir = regexpsub (dir, "^(.*);workgroup=[^;]+$", "\\1"); - } - UI::ChangeWidget (`id (`workgroup), `Value, workgroup); + UI::ChangeWidget (`id (`workgroup), `Value, parsed["domain"]:""); UI::ChangeWidget (`id (`share), `Value, share); } UI::ChangeWidget (`id (`dir), `Value, dir); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org