Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65115 - in /branches/SuSE-Linux-11_4-Branch/gtk: package/yast2-gtk.changes src/pkg/ygtkpkgdetailview.cc
Author: rpmcruz
Date: Tue Aug 2 02:47:02 2011
New Revision: 65115

URL: http://svn.opensuse.org/viewcvs/yast?rev=65115&view=rev
Log:
- libzypp bug workaround: don't show changelog dates (bnc#707532).

Modified:
branches/SuSE-Linux-11_4-Branch/gtk/package/yast2-gtk.changes
branches/SuSE-Linux-11_4-Branch/gtk/src/pkg/ygtkpkgdetailview.cc

Modified: branches/SuSE-Linux-11_4-Branch/gtk/package/yast2-gtk.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_4-Branch/gtk/package/yast2-gtk.changes?rev=65115&r1=65114&r2=65115&view=diff
==============================================================================
--- branches/SuSE-Linux-11_4-Branch/gtk/package/yast2-gtk.changes (original)
+++ branches/SuSE-Linux-11_4-Branch/gtk/package/yast2-gtk.changes Tue Aug 2
02:47:02 2011
@@ -1,10 +1,11 @@
-------------------------------------------------------------------
-Thu Jul 28 05:57:00 WET 2011 - rpmcruz@xxxxxxxxxxxxxxxxxxx
+Tue Aug 02 01:45:00 WET 2011 - rpmcruz@xxxxxxxxxxxxxxxxxxx

- 2.21.94
- don't show unsupported packages when the list is empty
(bnc#704103).
- showing mnemonics characters (bnc#704102).
+- libzypp bug workaround: don't show changelog dates (bnc#707532).

-------------------------------------------------------------------
Fri Apr 01 00:09:00 WET 2011 - rpmcruz@xxxxxxxxxxxxxxxxxxx

Modified: branches/SuSE-Linux-11_4-Branch/gtk/src/pkg/ygtkpkgdetailview.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_4-Branch/gtk/src/pkg/ygtkpkgdetailview.cc?rev=65115&r1=65114&r2=65115&view=diff
==============================================================================
--- branches/SuSE-Linux-11_4-Branch/gtk/src/pkg/ygtkpkgdetailview.cc (original)
+++ branches/SuSE-Linux-11_4-Branch/gtk/src/pkg/ygtkpkgdetailview.cc Tue Aug 2
02:47:02 2011
@@ -1002,14 +1002,14 @@
const std::list <zypp::ChangelogEntry> &logs =
zpkg->changelog();
for (std::list <zypp::ChangelogEntry>::const_iterator
it = logs.begin();
it != logs.end(); it++) {
- std::string date (it->date().form ("%d %B
%Y")), author (it->author()),
+ std::string author (it->author()),
changes (it->text());
author = YGUtils::escapeMarkup (author);
changes = YGUtils::escapeMarkup (changes);
YGUtils::replace (changes, "\n", 1, "<br>");
if (author.compare (0, 2, "- ", 2) == 0) //
zypp returns a lot of author strings as
author.erase (0, 2);
// "- author". wtf?
- text += "<i>" + date + " (" + author +
"):</i><br><blockquote>" + changes + "</blockquote>";
+ text += "<i>" + author +
":</i><br><blockquote>" + changes + "</blockquote>";
}
}
return text;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages