summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2020-09-03 16:38:41 +0200
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-09-03 17:01:05 +0000
commit8ad3a9f3e08368f5ac03d9f19630ef899f954416 (patch)
treede8bcf0d2edbea836bf5804ac665d8cc3035053b /src
parent46b6774f3867c8b76cfc3cb59296667fe6000bc3 (diff)
downloadepiphany-8ad3a9f3e08368f5ac03d9f19630ef899f954416.tar.gz
window-commands: Open application manager in new tab
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1325
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 7ad9a92a8..fd4dafcfa 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -2986,8 +2986,10 @@ window_cmd_open_application_manager (GSimpleAction *action,
EphyEmbed *embed;
EphyWebView *web_view;
- embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
- g_assert (embed != NULL);
+ embed = ephy_shell_new_tab (ephy_shell_get_default (),
+ window,
+ NULL,
+ EPHY_NEW_TAB_JUMP);
web_view = ephy_embed_get_web_view (embed);