[Xfce4-commits] <xfce4-mailwatch-plugin:master> Fix interval edit for mbox
Florian Rivoal
noreply at xfce.org
Sat Feb 26 15:16:04 CET 2011
Updating branch refs/heads/master
to 3472148a7c768b66109307f69ccbc15e8363606b (commit)
from 0ab411d227c07948337b0eab3b471363df4159f1 (commit)
commit 3472148a7c768b66109307f69ccbc15e8363606b
Author: Florian Rivoal <frivoal at xfce.org>
Date: Wed Feb 23 09:16:30 2011 +0900
Fix interval edit for mbox
Editing the interval for mbox did not change the interval - the
callback routine failed to store the edited value.
This fixes bug #6519.
libmailwatch-core/mailwatch-mailbox-mbox.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libmailwatch-core/mailwatch-mailbox-mbox.c b/libmailwatch-core/mailwatch-mailbox-mbox.c
index 98dd094..c242079 100644
--- a/libmailwatch-core/mailwatch-mailbox-mbox.c
+++ b/libmailwatch-core/mailwatch-mailbox-mbox.c
@@ -347,6 +347,7 @@ mbox_interval_changed_cb( GtkWidget *spinner, XfceMailwatchMboxMailbox *mbox ) {
g_source_remove( mbox->check_id );
mbox->check_id = g_timeout_add( mbox->interval * 1000, mbox_check_mail_timeout, mbox );
}
+ mbox->interval = val;
}
static GtkContainer *
More information about the Xfce4-commits
mailing list