diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-23 05:07:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-27 20:58:50 +0800 |
commit | 6affbe33e90b4157380eff3dad6a9654c9a24443 (patch) | |
tree | b82de645ced44be6c6aa28a0b0759ba17afb1624 /modules | |
parent | eba9b45f9e0e2a7f1a8d2d79f14d9e5f3aded19e (diff) | |
download | gsoc2013-evolution-6affbe33e90b4157380eff3dad6a9654c9a24443.tar.gz gsoc2013-evolution-6affbe33e90b4157380eff3dad6a9654c9a24443.tar.zst gsoc2013-evolution-6affbe33e90b4157380eff3dad6a9654c9a24443.zip |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/calendar/e-cal-shell-content.c | 15 |
1 files changed, 10 insertions, 5 deletions
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); |