aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/notificationconfiguration
diff options
context:
space:
mode:
authorValentin Martinet <vmartinet@java.net>2009-12-21 21:06:08 +0000
committerValentin Martinet <vmartinet@java.net>2009-12-21 21:06:08 +0000
commita772737e953ac9c79194e67478761cd9c2e0e43d (patch)
tree706e2aca52b03b30fa96025d7cfdfe0707cdd62d /src/net/java/sip/communicator/plugin/notificationconfiguration
parentde4266aa6508455c108201b48c49e051441beb61 (diff)
downloadjitsi-a772737e953ac9c79194e67478761cd9c2e0e43d.zip
jitsi-a772737e953ac9c79194e67478761cd9c2e0e43d.tar.gz
jitsi-a772737e953ac9c79194e67478761cd9c2e0e43d.tar.bz2
Implements SipCommFileFilter in the Whiteboard plugin.
The Mac OS X save file dialog is now used. Deleted warnings and corrected lines > 80 characters.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/notificationconfiguration')
-rw-r--r--src/net/java/sip/communicator/plugin/notificationconfiguration/NotificationConfigurationPanel.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/plugin/notificationconfiguration/NotificationConfigurationPanel.java b/src/net/java/sip/communicator/plugin/notificationconfiguration/NotificationConfigurationPanel.java
index 96e4eb6..fa7e7c1 100644
--- a/src/net/java/sip/communicator/plugin/notificationconfiguration/NotificationConfigurationPanel.java
+++ b/src/net/java/sip/communicator/plugin/notificationconfiguration/NotificationConfigurationPanel.java
@@ -36,7 +36,9 @@ public class NotificationConfigurationPanel
DocumentListener,
NotificationChangeListener
{
- private final Logger logger
+ private static final long serialVersionUID = 5784331951722787598L;
+
+ private final Logger logger
= Logger.getLogger(NotificationConfigurationPanel.class);
// Declaration of variables on the table notifications
@@ -321,9 +323,10 @@ public class NotificationConfigurationPanel
this.setLayout(gridLayoutGlobal);
- fileChooserSound = GenericFileDialog.create(null, "Choose a sound...");
- fileChooserProgram = GenericFileDialog.create(
- null, "Choose a program...");
+ fileChooserSound = GenericFileDialog.create(null, "Choose a sound...",
+ SipCommFileChooser.LOAD_FILE_OPERATION);
+ fileChooserProgram = GenericFileDialog.create(null,
+ "Choose a program...", SipCommFileChooser.LOAD_FILE_OPERATION);
//fileChooserSound.setMultiSelectionEnabled(false);
//fileChooserProgram.setMultiSelectionEnabled(false);
fileChooserSound.addFilter(new SoundFilter());