diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-20 12:32:41 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-20 12:32:41 +0800 |
commit | b6e44f08f719efee9c6ed90813d03ddbf42e9121 (patch) | |
tree | 974bfa73c331fbf44c829286dc5aa1e3acf1dfc3 /mail/mail-vfolder.c | |
parent | 1d92e96ba8027cd5677fee5313bae50336a75e9a (diff) | |
download | gsoc2013-evolution-b6e44f08f719efee9c6ed90813d03ddbf42e9121.tar.gz gsoc2013-evolution-b6e44f08f719efee9c6ed90813d03ddbf42e9121.tar.zst gsoc2013-evolution-b6e44f08f719efee9c6ed90813d03ddbf42e9121.zip |
Make displayed_uid public.
2004-01-20 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (EMFolderView): Make displayed_uid public.
* em-folder-browser.c (em_folder_browser_show_preview): use
em_folder_view_set_message rather than message_list_select_uid.
When clearing, clear view->displayed_uid too.
2004-01-20 Not Zed <NotZed@Ximian.com>
** See bug #52965.
* mail-component.c (mail_component_init): removed an epfixme, it
already is an object.
(impl_upgradeFromVersion): call mail_note_store after running the
upgrade for local folders.
* em-migrate.c (em_migrate): revert the vfolders.xml after we've
imported them.
* mail-vfolder.c (vfolder_revert): new api to re-load the vfolders
file.
svn path=/trunk/; revision=24322
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index b1474b7afe..fc0e502c8f 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -850,6 +850,17 @@ vfolder_load_storage(void) g_free(storeuri); } +void +vfolder_revert(void) +{ + char *user; + + d(printf("vfolder_revert\n")); + user = g_strdup_printf("%s/mail/vfolders.xml", mail_component_peek_base_directory (mail_component_peek ())); + rule_context_revert((RuleContext *)context, user); + g_free(user); +} + static GtkWidget *vfolder_editor = NULL; static void |