mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
Caldav: added edit notifications checkbox in settings frame
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1532 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e9aeb62577
commit
0b7ffa3888
@ -90,6 +90,7 @@ public class SettingsFrame extends JFrame {
|
|||||||
JComboBox wireLoggingLevelField;
|
JComboBox wireLoggingLevelField;
|
||||||
JTextField logFilePathField;
|
JTextField logFilePathField;
|
||||||
|
|
||||||
|
JCheckBox caldavEditNotificationsField;
|
||||||
JTextField caldavAlarmSoundField;
|
JTextField caldavAlarmSoundField;
|
||||||
JCheckBox forceActiveSyncUpdateCheckBox;
|
JCheckBox forceActiveSyncUpdateCheckBox;
|
||||||
JTextField defaultDomainField;
|
JTextField defaultDomainField;
|
||||||
@ -394,9 +395,11 @@ public class SettingsFrame extends JFrame {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected JPanel getOtherSettingsPanel() {
|
protected JPanel getOtherSettingsPanel() {
|
||||||
JPanel otherSettingsPanel = new JPanel(new GridLayout(6, 2));
|
JPanel otherSettingsPanel = new JPanel(new GridLayout(7, 2));
|
||||||
otherSettingsPanel.setBorder(BorderFactory.createTitledBorder(BundleMessage.format("UI_OTHER")));
|
otherSettingsPanel.setBorder(BorderFactory.createTitledBorder(BundleMessage.format("UI_OTHER")));
|
||||||
|
|
||||||
|
caldavEditNotificationsField = new JCheckBox();
|
||||||
|
caldavEditNotificationsField.setSelected(Settings.getBooleanProperty("davmail.caldavEditNotifications"));
|
||||||
caldavAlarmSoundField = new JTextField(Settings.getProperty("davmail.caldavAlarmSound"), 15);
|
caldavAlarmSoundField = new JTextField(Settings.getProperty("davmail.caldavAlarmSound"), 15);
|
||||||
forceActiveSyncUpdateCheckBox = new JCheckBox();
|
forceActiveSyncUpdateCheckBox = new JCheckBox();
|
||||||
forceActiveSyncUpdateCheckBox.setSelected(Settings.getBooleanProperty("davmail.forceActiveSyncUpdate"));
|
forceActiveSyncUpdateCheckBox.setSelected(Settings.getBooleanProperty("davmail.forceActiveSyncUpdate"));
|
||||||
@ -408,6 +411,8 @@ public class SettingsFrame extends JFrame {
|
|||||||
enableEwsCheckBox = new JCheckBox();
|
enableEwsCheckBox = new JCheckBox();
|
||||||
enableEwsCheckBox.setSelected(Settings.getBooleanProperty("davmail.enableEws", false));
|
enableEwsCheckBox.setSelected(Settings.getBooleanProperty("davmail.enableEws", false));
|
||||||
|
|
||||||
|
addSettingComponent(otherSettingsPanel, BundleMessage.format("UI_CALDAV_EDIT_NOTIFICATIONS"), caldavEditNotificationsField,
|
||||||
|
BundleMessage.format("UI_CALDAV_EDIT_NOTIFICATIONS_HELP"));
|
||||||
addSettingComponent(otherSettingsPanel, BundleMessage.format("UI_CALDAV_ALARM_SOUND"), caldavAlarmSoundField,
|
addSettingComponent(otherSettingsPanel, BundleMessage.format("UI_CALDAV_ALARM_SOUND"), caldavAlarmSoundField,
|
||||||
BundleMessage.format("UI_CALDAV_ALARM_SOUND_HELP"));
|
BundleMessage.format("UI_CALDAV_ALARM_SOUND_HELP"));
|
||||||
addSettingComponent(otherSettingsPanel, BundleMessage.format("UI_FORCE_ACTIVESYNC_UPDATE"), forceActiveSyncUpdateCheckBox,
|
addSettingComponent(otherSettingsPanel, BundleMessage.format("UI_FORCE_ACTIVESYNC_UPDATE"), forceActiveSyncUpdateCheckBox,
|
||||||
@ -513,6 +518,7 @@ public class SettingsFrame extends JFrame {
|
|||||||
certHashField.setText(Settings.getProperty("davmail.server.certificate.hash"));
|
certHashField.setText(Settings.getProperty("davmail.server.certificate.hash"));
|
||||||
disableUpdateCheck.setSelected(Settings.getBooleanProperty(("davmail.disableUpdateCheck")));
|
disableUpdateCheck.setSelected(Settings.getBooleanProperty(("davmail.disableUpdateCheck")));
|
||||||
|
|
||||||
|
caldavEditNotificationsField.setSelected(Settings.getBooleanProperty("davmail.caldavEditNotifications"));
|
||||||
caldavAlarmSoundField.setText(Settings.getProperty("davmail.caldavAlarmSound"));
|
caldavAlarmSoundField.setText(Settings.getProperty("davmail.caldavAlarmSound"));
|
||||||
forceActiveSyncUpdateCheckBox.setSelected(Settings.getBooleanProperty("davmail.forceActiveSyncUpdate"));
|
forceActiveSyncUpdateCheckBox.setSelected(Settings.getBooleanProperty("davmail.forceActiveSyncUpdate"));
|
||||||
defaultDomainField.setText(Settings.getProperty("davmail.defaultDomain"));
|
defaultDomainField.setText(Settings.getProperty("davmail.defaultDomain"));
|
||||||
@ -650,6 +656,7 @@ public class SettingsFrame extends JFrame {
|
|||||||
Settings.setProperty("davmail.server.certificate.hash", certHashField.getText());
|
Settings.setProperty("davmail.server.certificate.hash", certHashField.getText());
|
||||||
Settings.setProperty("davmail.disableUpdateCheck", String.valueOf(disableUpdateCheck.isSelected()));
|
Settings.setProperty("davmail.disableUpdateCheck", String.valueOf(disableUpdateCheck.isSelected()));
|
||||||
|
|
||||||
|
Settings.setProperty("davmail.caldavEditNotifications", String.valueOf(caldavEditNotificationsField.isSelected()));
|
||||||
Settings.setProperty("davmail.caldavAlarmSound", String.valueOf(caldavAlarmSoundField.getText()));
|
Settings.setProperty("davmail.caldavAlarmSound", String.valueOf(caldavAlarmSoundField.getText()));
|
||||||
Settings.setProperty("davmail.forceActiveSyncUpdate", String.valueOf(forceActiveSyncUpdateCheckBox.isSelected()));
|
Settings.setProperty("davmail.forceActiveSyncUpdate", String.valueOf(forceActiveSyncUpdateCheckBox.isSelected()));
|
||||||
Settings.setProperty("davmail.defaultDomain", String.valueOf(defaultDomainField.getText()));
|
Settings.setProperty("davmail.defaultDomain", String.valueOf(defaultDomainField.getText()));
|
||||||
|
@ -271,3 +271,5 @@ UI_CC_HELP=Copy recipients
|
|||||||
UI_SUBJECT=Subject:
|
UI_SUBJECT=Subject:
|
||||||
UI_SUBJECT_HELP=Caldav notification subject
|
UI_SUBJECT_HELP=Caldav notification subject
|
||||||
UI_NOTIFICATION_BODY=Caldav notification comment
|
UI_NOTIFICATION_BODY=Caldav notification comment
|
||||||
|
UI_CALDAV_EDIT_NOTIFICATIONS=Edit Caldav notifications:
|
||||||
|
UI_CALDAV_EDIT_NOTIFICATIONS_HELP=Enable interactive Caldav edit notification window
|
||||||
|
@ -20,7 +20,7 @@ EXCEPTION_INVALID_MESSAGE_CONTENT=Contenu du message invalide : {0}
|
|||||||
EXCEPTION_INVALID_MESSAGE_URL=URL de message invalide : {0}
|
EXCEPTION_INVALID_MESSAGE_URL=URL de message invalide : {0}
|
||||||
EXCEPTION_INVALID_RECIPIENT=Destinataire invalide : {0}
|
EXCEPTION_INVALID_RECIPIENT=Destinataire invalide : {0}
|
||||||
EXCEPTION_INVALID_REQUEST=Requête invalide {0}
|
EXCEPTION_INVALID_REQUEST=Requête invalide {0}
|
||||||
EXCEPTION_INVALID_SEARCH_PARAMETERS=Paremètres de recherche invalides : {0}
|
EXCEPTION_INVALID_SEARCH_PARAMETERS=Paramètres de recherche invalides : {0}
|
||||||
EXCEPTION_NETWORK_DOWN=Toutes les interfaces réseaux sont indisponibles ou serveur non joignable !
|
EXCEPTION_NETWORK_DOWN=Toutes les interfaces réseaux sont indisponibles ou serveur non joignable !
|
||||||
EXCEPTION_UNABLE_TO_CREATE_MESSAGE=Impossible de créer le message {0} : {1}{2}{3}
|
EXCEPTION_UNABLE_TO_CREATE_MESSAGE=Impossible de créer le message {0} : {1}{2}{3}
|
||||||
EXCEPTION_UNABLE_TO_GET_FOLDER=Impossible d''obtenir le dossier {0}
|
EXCEPTION_UNABLE_TO_GET_FOLDER=Impossible d''obtenir le dossier {0}
|
||||||
@ -270,3 +270,6 @@ UI_TO_HELP=Destinataires
|
|||||||
UI_NOTIFICATION_BODY=Commentaire notification Caldav
|
UI_NOTIFICATION_BODY=Commentaire notification Caldav
|
||||||
UI_CC=Copie à :
|
UI_CC=Copie à :
|
||||||
UI_CC_HELP=Destinataires en copie
|
UI_CC_HELP=Destinataires en copie
|
||||||
|
UI_CALDAV_EDIT_NOTIFICATIONS=Edition notifications Caldav :
|
||||||
|
UI_CALDAV_EDIT_NOTIFICATIONS_HELP=Activer le fenêtre d'édition interactive des notifications
|
||||||
|
|
||||||
|
@ -86,6 +86,11 @@
|
|||||||
<td>Allow remote connections to the gateway (server mode)</td>
|
<td>Allow remote connections to the gateway (server mode)</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Edit Caldav notifications</td>
|
||||||
|
<td>Enable interactive Caldav edit notification window</td>
|
||||||
|
<td>false</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Force Active Sync update</td>
|
<td>Force Active Sync update</td>
|
||||||
<td>Use double event update to trigger ActiveSync mobile phones sync</td>
|
<td>Use double event update to trigger ActiveSync mobile phones sync</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user