aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-19 07:22:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-19 07:22:36 +0800
commitb265717d397e190684652329e6fd28e7ae482a0d (patch)
tree900f5162f15ef8c65be7c80a4d1cc020b15441a7 /mail/mail-config.c
parent6fe06db13a319b36aa16d1c41e0dadd426ea5034 (diff)
downloadgsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.tar
gsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.tar.gz
gsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.tar.bz2
gsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.tar.lz
gsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.tar.xz
gsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.tar.zst
gsoc2013-evolution-b265717d397e190684652329e6fd28e7ae482a0d.zip
Setup the new-mail-notification widgets. (notify_command_changed): Update
2001-12-18 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Setup the new-mail-notification widgets. (notify_command_changed): Update the command-line for new mail notification. (notify_radio_toggled): Update the new-mail-notification type. * mail-ops.c (filter_folder_free): See if we got any new mail and "sound the alarm" if we did. svn path=/trunk/; revision=15168
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 184f4fb281..a21af27d17 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -107,7 +107,7 @@ typedef struct {
gboolean filter_log;
char *filter_log_path;
- MailConfigNewMailNotification notify;
+ MailConfigNewMailNotify notify;
char *notify_command;
} MailConfig;
@@ -614,7 +614,7 @@ config_read (void)
/* New Mail Notification */
config->notify = bonobo_config_get_long_with_default (
config->db, "/Mail/Notify/new_mail_notification",
- MAIL_CONFIG_NEW_MAIL_NOTIFICATION_NONE, NULL);
+ MAIL_CONFIG_NOTIFY_NOT, NULL);
config->notify_command = bonobo_config_get_string (
config->db, "/Mail/Notify/new_mail_notification_command", NULL);
@@ -1628,26 +1628,26 @@ mail_config_set_default_charset (const char *charset)
config->default_charset = g_strdup (charset);
}
-MailConfigNewMailNotification
-mail_config_get_new_mail_notification (void)
+MailConfigNewMailNotify
+mail_config_get_new_mail_notify (void)
{
return config->notify;
}
void
-mail_config_set_new_mail_notification (MailConfigNewMailNotification type)
+mail_config_set_new_mail_notify (MailConfigNewMailNotify type)
{
config->notify = type;
}
const char *
-mail_config_get_new_mail_notification_command (void)
+mail_config_get_new_mail_notify_command (void)
{
return config->notify_command;
}
void
-mail_config_set_new_mail_notification_command (const char *command)
+mail_config_set_new_mail_notify_command (const char *command)
{
g_free (config->notify_command);
config->notify_command = g_strdup (command);