diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-11-08 01:44:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-11-08 03:01:46 +0800 |
commit | 86ecfc50539ddef82205551c11a6a13b135bbab4 (patch) | |
tree | cc25ca582935748885a23d665a1d9e1bbc1d4d9c /shell/e-shell.c | |
parent | aa66a17e401d73cbe394ed7f99bf73350e9b938b (diff) | |
download | gsoc2013-evolution-86ecfc50539ddef82205551c11a6a13b135bbab4.tar.gz gsoc2013-evolution-86ecfc50539ddef82205551c11a6a13b135bbab4.tar.zst gsoc2013-evolution-86ecfc50539ddef82205551c11a6a13b135bbab4.zip |
Convert some "Save As" actions to run asynchronously.
This introduces e-shell-utils for miscellaneous utility functions
that integrate with the shell or shell settings. First function
is e_shell_run_save_dialog(), which automatically remembers the
selected folder in the file chooser dialog.
Also, kill some redundant save dialog functions, as well as some
write-this-string-to-disk functions that block.
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 61ce8d7c02..b0a1490148 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -903,16 +903,6 @@ shell_class_init (EShellClass *class) 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); - - /* Install some application-wide settings. */ - - e_shell_settings_install_property ( - g_param_spec_string ( - "file-chooser-folder", - NULL, - NULL, - NULL, - G_PARAM_READWRITE)); } static void @@ -950,6 +940,10 @@ shell_init (EShell *shell) * otherwise the GConf bindings will not get set up. */ e_shell_settings_install_property_for_key ( + "file-chooser-folder", + "/apps/evolution/shell/file_chooser_folder"); + + e_shell_settings_install_property_for_key ( "start-offline", "/apps/evolution/shell/start_offline"); |