[epiphany] window-commands: Open application manager in new tab



commit 8ad3a9f3e08368f5ac03d9f19630ef899f954416
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Thu Sep 3 16:38:41 2020 +0200

    window-commands: Open application manager in new tab
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1325

 src/window-commands.c | 6 ++++--
 1 file 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]