[epiphany] Only create a new-window if the session is not empty
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Only create a new-window if the session is not empty
- Date: Mon, 20 Apr 2020 15:28:54 +0000 (UTC)
commit bd3316e97db493fd0f6de0ec27432c375e6b3dec
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Mon Apr 20 13:39:27 2020 +0200
Only create a new-window if the session is not empty
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1152
src/ephy-shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index fbba72b18..2d0dd8997 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -125,7 +125,7 @@ ephy_shell_startup_continue (EphyShell *shell,
g_assert (session != NULL);
ephy_session_load (session, (const char *)ctx->session_filename,
ctx->user_time, NULL, NULL, NULL);
- } else if (new_window_option) {
+ } else if (new_window_option && shell->remote_startup_context) {
char *homepage_url = g_settings_get_string (EPHY_SETTINGS_MAIN, EPHY_PREFS_HOMEPAGE_URL);
const char *default_uris[] = { homepage_url, NULL };
const char **uris = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]