diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 05:50:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 05:50:18 +0800 |
commit | a68ff6bc2f3070cc852456c18d9edfecb31b183c (patch) | |
tree | fc5c505b7446cd5bf4b4759dc568179fffcc6af6 /shell | |
parent | e69c2b94c2fbde4bcb4cbdafee643957bf9c043b (diff) | |
download | gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.tar gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.tar.gz gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.tar.bz2 gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.tar.lz gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.tar.xz gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.tar.zst gsoc2013-evolution-a68ff6bc2f3070cc852456c18d9edfecb31b183c.zip |
(save_settings_for_views): Removed.
(e_shell_save_settings): Do not call it here.
svn path=/trunk/; revision=18762
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell.c | 31 |
2 files changed, 6 insertions, 30 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 084e16e565..202e97a286 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,10 @@ 2002-11-14 Ettore Perazzoli <ettore@ximian.com> + * e-shell.c (save_settings_for_views): Removed. + (e_shell_save_settings): Do not call it here. + +2002-11-14 Ettore Perazzoli <ettore@ximian.com> + * e-storage-set-view.c (impl_dispose): NULL priv->ui_component after unreffing it. diff --git a/shell/e-shell.c b/shell/e-shell.c index 6ac6061970..4acc386ae0 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1613,33 +1613,6 @@ e_shell_get_local_storage (EShell *shell) static gboolean -save_settings_for_views (EShell *shell) -{ - EShellPrivate *priv; - GList *p; - gboolean retval; - int i; - - priv = shell->priv; - retval = TRUE; - - for (p = priv->views, i = 0; p != NULL; p = p->next, i++) { - EShellView *view; - - view = E_SHELL_VIEW (p->data); - - if (! e_shell_view_save_settings (view, i)) { - g_warning ("Cannot save settings for view -- %d", i); - retval = FALSE; - } - } - - e_config_listener_set_long (priv->config_listener, "/Shell/Views/NumberOfViews", g_list_length (priv->views)); - - return TRUE; -} - -static gboolean save_settings_for_component (EShell *shell, const char *id, EvolutionShellComponentClient *client) @@ -1734,18 +1707,16 @@ save_misc_settings (EShell *shell) gboolean e_shell_save_settings (EShell *shell) { - gboolean views_saved; gboolean components_saved; gboolean misc_saved; g_return_val_if_fail (shell != NULL, FALSE); g_return_val_if_fail (E_IS_SHELL (shell), FALSE); - views_saved = save_settings_for_views (shell); components_saved = save_settings_for_components (shell); misc_saved = save_misc_settings (shell); - return views_saved && components_saved && misc_saved; + return components_saved && misc_saved; } /** |