Mailinglist Archive: yast-commit (126 mails)

< Previous Next >
[yast-commit] r67565 - /trunk/ncurses-pkg/src/NCPkgTable.cc
Author: gs
Date: Tue Mar 6 13:20:14 2012
New Revision: 67565

URL: http://svn.opensuse.org/viewcvs/yast?rev=67565&view=rev
Log:
create html text from notify messages

Modified:
trunk/ncurses-pkg/src/NCPkgTable.cc

Modified: trunk/ncurses-pkg/src/NCPkgTable.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPkgTable.cc?rev=67565&r1=67564&r2=67565&view=diff
==============================================================================
--- trunk/ncurses-pkg/src/NCPkgTable.cc (original)
+++ trunk/ncurses-pkg/src/NCPkgTable.cc Tue Mar 6 13:20:14 2012
@@ -300,9 +300,10 @@

if ( ok && !notify.empty() )
{
+ string html_text = packager->InfoText()->createHtmlText( notify );
NCPopupInfo * info = new NCPopupInfo( wpos( (lines * 35)/100, (cols *
25)/100),
header,
- "<i>" + pkgName + "</i><br><br>"
+ notify
+ "<i>" + pkgName + "</i><br><br>"
+ html_text
);
info->setPreferredSize( (NCurses::cols() * 50)/100, (NCurses::lines() *
30)/100);
info->showInfoPopup( );

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

< Previous Next >
This Thread
  • No further messages