[sip-comm-dev] Call Recording

Dmitri Melnikov dmitri807 at gmail.com
Thu Aug 19 11:02:50 CEST 2010


I see. Then can you please add this fix to the code:

Index: src/net/java/sip/communicator/impl/swingnotification/PopupMessageHandlerSwingImpl.java
===================================================================
--- src/net/java/sip/communicator/impl/swingnotification/PopupMessageHandlerSwingImpl.java	(revision
7615)
+++ src/net/java/sip/communicator/impl/swingnotification/PopupMessageHandlerSwingImpl.java	(working
copy)
@@ -108,6 +108,8 @@

     /**
      * Builds the popup component with given informations.
+     * Message content is wrapped with HTML "pre" tag to ensure
+     * that text such as full pathnames is displayed correctly.
      *
      * @param titleString message title
      * @param message message content
@@ -136,7 +138,7 @@
         msgTitle.setPreferredSize(new Dimension(200, msgTitleHeight));
         msgTitle.setFont(msgTitle.getFont().deriveFont(Font.BOLD));

-        String plainMessage = Html2Text.extractText(message);
+        String plainMessage = Html2Text.extractText("<pre>" + message
+ "</pre>");
         JTextArea msgContent = new JTextArea(plainMessage);
         msgContent.setLineWrap(true);
         msgContent.setWrapStyleWord(true);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: dev-help at sip-communicator.dev.java.net





More information about the dev mailing list