aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2011-12-22 12:55:41 +0000
committerIngo Bauersachs <ingo@jitsi.org>2011-12-22 12:55:41 +0000
commitccc87195619f9197155270f86b4787845faecf64 (patch)
tree4b033dd05da6d83d4e1694402f03d9c80c42125b /src
parent4407d10ec196f3d6ba0a65ea4be9181083f8c635 (diff)
downloadjitsi-ccc87195619f9197155270f86b4787845faecf64.zip
jitsi-ccc87195619f9197155270f86b4787845faecf64.tar.gz
jitsi-ccc87195619f9197155270f86b4787845faecf64.tar.bz2
Hide colon in notification title when there is no title
Diffstat (limited to 'src')
-rw-r--r--src/net/java/sip/communicator/util/swing/PopupNotificationPanel.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/util/swing/PopupNotificationPanel.java b/src/net/java/sip/communicator/util/swing/PopupNotificationPanel.java
index 80000ba..a5ac2cd 100644
--- a/src/net/java/sip/communicator/util/swing/PopupNotificationPanel.java
+++ b/src/net/java/sip/communicator/util/swing/PopupNotificationPanel.java
@@ -54,7 +54,9 @@ public class PopupNotificationPanel
notifTitle = new JLabel(
UtilActivator.getResources().getSettingsString(
"service.gui.APPLICATION_NAME")
- + (titleString == null ? "" : ": " + titleString),
+ + (StringUtils.isNullOrEmpty(titleString, true)
+ ? ""
+ : ": " + titleString),
SwingConstants.LEFT);
notifClose = new SIPCommButton();