diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-04-10 05:57:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-04-10 05:57:10 +0800 |
commit | 35d0d166f8b2bb58ba9d83925156c3388a01ad49 (patch) | |
tree | 3a66ff56913ba4ac1023d32d7f174975801830f0 /shell | |
parent | 0ed26078077a17ad55406e9a2923a240d80681dd (diff) | |
download | gsoc2013-evolution-35d0d166f8b2bb58ba9d83925156c3388a01ad49.tar.gz gsoc2013-evolution-35d0d166f8b2bb58ba9d83925156c3388a01ad49.tar.zst gsoc2013-evolution-35d0d166f8b2bb58ba9d83925156c3388a01ad49.zip |
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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/main.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index b071cb5fc3..3b6fcda4a6 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,10 @@ 2002-04-09 Ettore Perazzoli <ettore@ximian.com> + * 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 <ettore@ximian.com> + [Patch from Max Horn <max@quendi.de>.] * e-local-storage.c: Move <dirent.h> down the #include list so it 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; |