[yast-commit] r67027 - in /trunk/online-update: VERSION package/yast2-online-update.changes src/OnlineUpdateCallbacks.ycp
Author: jsuchome Date: Fri Dec 9 15:52:30 2011 New Revision: 67027 URL: http://svn.opensuse.org/viewcvs/yast?rev=67027&view=rev Log: - show package name in progress log when removing it (bnc#731485) - 2.21.5 Modified: trunk/online-update/VERSION trunk/online-update/package/yast2-online-update.changes trunk/online-update/src/OnlineUpdateCallbacks.ycp Modified: trunk/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/VERSION?rev=67027&r1=67026&r2=67027&view=diff ============================================================================== --- trunk/online-update/VERSION (original) +++ trunk/online-update/VERSION Fri Dec 9 15:52:30 2011 @@ -1 +1 @@ -2.21.4 +2.21.5 Modified: trunk/online-update/package/yast2-online-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/package/yast2-online-update.changes?rev=67027&r1=67026&r2=67027&view=diff ============================================================================== --- trunk/online-update/package/yast2-online-update.changes (original) +++ trunk/online-update/package/yast2-online-update.changes Fri Dec 9 15:52:30 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Dec 9 15:42:10 CET 2011 - jsuchome@suse.cz + +- show package name in progress log when removing it (bnc#731485) +- 2.21.5 + +------------------------------------------------------------------- Fri Nov 25 12:23:01 UTC 2011 - coolo@suse.com - add libtool as buildrequire to avoid implicit dependency Modified: trunk/online-update/src/OnlineUpdateCallbacks.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/src/OnlineUpdateCallbacks.ycp?rev=67027&r1=67026&r2=67027&view=diff ============================================================================== --- trunk/online-update/src/OnlineUpdateCallbacks.ycp (original) +++ trunk/online-update/src/OnlineUpdateCallbacks.ycp Fri Dec 9 15:52:30 2011 @@ -124,14 +124,15 @@ global void StartPackage(string pkg_name, string name, string summary, integer installsize, boolean is_delete) { + string p_name = name != "" ? name : pkg_name; // progress log action (what is being done with the package) string action = is_delete ? _("Removing") : _("Installing"); // progress log item: %1 is action ("Removing" ot "Installing"), // %2 is name of package, %3 is summary - string text = sformat ("%1 %2: \"%3\"", action, name, summary); + string text = sformat ("%1 %2: \"%3\"", action, p_name, summary); if (summary == "") // alternative progress log item: only action and package name - text = sformat ("%1 %2", action, name); + text = sformat ("%1 %2", action, p_name); ProgressLog (text); if (UI::WidgetExists (`id (`you_patch_progress))) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org