aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/main.c4
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;