From 35d0d166f8b2bb58ba9d83925156c3388a01ad49 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 9 Apr 2002 21:57:10 +0000 Subject: Change the logic for displaying a default window, so we don't end up with * main.c (idle_cb): Change the logic for displaying a default window, so we don't end up with two windows all the time. svn path=/trunk/; revision=16416 --- shell/ChangeLog | 5 +++++ shell/main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index b071cb5fc3..3b6fcda4a6 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2002-04-09 Ettore Perazzoli + + * main.c (idle_cb): Change the logic for displaying a default + window, so we don't end up with two windows all the time. + 2002-04-09 Ettore Perazzoli [Patch from Max Horn .] diff --git a/shell/main.c b/shell/main.c index 23926f3101..31832ab5e4 100644 --- a/shell/main.c +++ b/shell/main.c @@ -288,7 +288,7 @@ idle_cb (void *data) g_slist_free (uri_list); - if (display_default || !displayed_any) { + if (display_default && ! displayed_any) { const char *uri; uri = E_SHELL_VIEW_DEFAULT_URI; -- cgit