diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-21 07:17:01 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-21 07:17:01 +0800 |
commit | c854e3d3205b11afc194b0d3a658125056b93a7f (patch) | |
tree | bb7b7ff8b51f3bea7dd2c0c7c79cf079e1691fca | |
parent | 7dcbbbdcc48bc2350908bdc43b3e022161acf048 (diff) | |
download | gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.tar gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.tar.gz gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.tar.bz2 gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.tar.lz gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.tar.xz gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.tar.zst gsoc2013-evolution-c854e3d3205b11afc194b0d3a658125056b93a7f.zip |
(idle_cb): Set displayed_any in the case when we are
calling e_shell_create_view(). Also initialize displayed_any to
FALSE earlier so we dont' end up opening two views at startup by
default.
svn path=/trunk/; revision=18870
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/main.c | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index b39cfabce9..7fd4c8f38f 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,12 @@ 2002-11-20 Ettore Perazzoli <ettore@ximian.com> + * main.c (idle_cb): Set displayed_any in the case when we are + calling e_shell_create_view(). Also initialize displayed_any to + FALSE earlier so we dont' end up opening two views at startup by + default. + +2002-11-20 Ettore Perazzoli <ettore@ximian.com> + * e-shell-folder-selection-dialog.c (impl_dispose): Save the expansion state for the EStorageSetView here. (impl_finalize): Instead of here. diff --git a/shell/main.c b/shell/main.c index cab1d3c5ad..1f98b2a7aa 100644 --- a/shell/main.c +++ b/shell/main.c @@ -374,6 +374,8 @@ idle_cb (void *data) } have_evolution_uri = FALSE; + displayed_any = FALSE; + for (p = uri_list; p != NULL; p = p->next) { const char *uri; @@ -397,12 +399,12 @@ idle_cb (void *data) if (! have_evolution_uri) { e_shell_create_view (shell, NULL, NULL); display_default = TRUE; + displayed_any = TRUE; } else { display_default = FALSE; } } - displayed_any = FALSE; for (p = uri_list; p != NULL; p = p->next) { const char *uri; |