diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-15 16:37:14 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-15 16:37:14 +0800 |
commit | 74c652de581cb99e3e29cb3bfd15a0d09305c165 (patch) | |
tree | baa9bde882ba406d7744659f90a921ee2dc278f6 /mail | |
parent | 7ead5a04c45705c7ef97c8c69cfb42659c2aa55c (diff) | |
download | gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.tar gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.tar.gz gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.tar.bz2 gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.tar.lz gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.tar.xz gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.tar.zst gsoc2013-evolution-74c652de581cb99e3e29cb3bfd15a0d09305c165.zip |
Set the vfolder_editor variable to null before we close the dialogue,
2002-07-15 Not Zed <NotZed@Ximian.com>
* mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor
variable to null before we close the dialogue, otherwise the close
destroys it and reverts the file.
svn path=/trunk/; revision=17453
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/mail-vfolder.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 4e9b3bfabc..5947602c30 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,9 @@ 2002-07-15 Not Zed <NotZed@Ximian.com> + * mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor + variable to null before we close the dialogue, otherwise the close + destroys it and reverts the file. + * component-factory.c (populate_folder_context_menu): Oops, accidentally checked in some unfinished, unworking code. Reverted. diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index 4e969c3a6c..bf68cf7cd5 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -761,14 +761,14 @@ vfolder_editor_clicked (GtkWidget *dialog, int button, void *data) sprintf(user, "%s/vfolders.xml", evolution_dir); if (button == 0) - rule_context_save ((RuleContext *)context, user); + rule_context_save((RuleContext *)context, user); else - rule_context_revert ((RuleContext *)context, user); + rule_context_revert((RuleContext *)context, user); + + vfolder_editor = NULL; if (button != -1) gnome_dialog_close (GNOME_DIALOG (dialog)); - - vfolder_editor = NULL; } static void |