aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-15 05:50:18 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-15 05:50:18 +0800
commita68ff6bc2f3070cc852456c18d9edfecb31b183c (patch)
treefc5c505b7446cd5bf4b4759dc568179fffcc6af6 /shell/e-shell.c
parente69c2b94c2fbde4bcb4cbdafee643957bf9c043b (diff)
downloadgsoc2013-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/e-shell.c')
-rw-r--r--shell/e-shell.c31
1 files changed, 1 insertions, 30 deletions
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;
}
/**