Author: aschnell Date: Tue Feb 24 12:48:03 2009 New Revision: 55711 URL: http://svn.opensuse.org/viewcvs/yast?rev=55711&view=rev Log: - correct way for newlines in tooltips Modified: trunk/storage/libstorage/src/Graph.cc Modified: trunk/storage/libstorage/src/Graph.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Graph.cc?rev=55711&r1=55710&r2=55711&view=diff ============================================================================== --- trunk/storage/libstorage/src/Graph.cc (original) +++ trunk/storage/libstorage/src/Graph.cc Tue Feb 24 12:48:03 2009 @@ -79,8 +79,7 @@ string makeTooltip(const char* text, const string& label, unsigned long long sizeK) { ostringstream s; - s << "<p>" << text << "<br>" << label << "<br>" - << byteToHumanString(1024 * sizeK, false, 2, false) << "</p>"; + s << text << "\\n" << label << "\\n" << byteToHumanString(1024 * sizeK, false, 2, false); return dotQuote(s.str()); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org