From 6affbe33e90b4157380eff3dad6a9654c9a24443 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 22 Jul 2010 17:07:52 -0400 Subject: Migrate ~/.evolution to XDG base directories. Migration runs just before the main loop starts. It's just a sequence of local directory and file renames. --- modules/calendar/e-cal-shell-content.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c index 146d9b964a..737c387a6f 100644 --- a/modules/calendar/e-cal-shell-content.c +++ b/modules/calendar/e-cal-shell-content.c @@ -141,7 +141,8 @@ cal_shell_content_notify_view_id_cb (ECalShellContent *cal_shell_content) } static gchar * -cal_chell_content_get_pad_state_filename (EShellContent *shell_content, ETable *table) +cal_shell_content_get_pad_state_filename (EShellContent *shell_content, + ETable *table) { EShellBackend *shell_backend; EShellView *shell_view; @@ -167,11 +168,13 @@ cal_chell_content_get_pad_state_filename (EShellContent *shell_content, ETable * } static void -cal_shell_content_save_table_state (EShellContent *shell_content, ETable *table) +cal_shell_content_save_table_state (EShellContent *shell_content, + ETable *table) { gchar *filename; - filename = cal_chell_content_get_pad_state_filename (shell_content, table); + filename = cal_shell_content_get_pad_state_filename ( + shell_content, table); g_return_if_fail (filename != NULL); e_table_save_state (table, filename); @@ -179,11 +182,13 @@ cal_shell_content_save_table_state (EShellContent *shell_content, ETable *table) } static void -cal_shell_content_load_table_state (EShellContent *shell_content, ETable *table) +cal_shell_content_load_table_state (EShellContent *shell_content, + ETable *table) { gchar *filename; - filename = cal_chell_content_get_pad_state_filename (shell_content, table); + filename = cal_shell_content_get_pad_state_filename ( + shell_content, table); g_return_if_fail (filename != NULL); e_table_load_state (table, filename); -- cgit v1.2.3