From c968c68cabc319896ad4d2096940c9a34d4c13cd Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Sun, 9 Dec 2012 15:25:37 +0100 Subject: Append new tab on the window with most tabs in the current workspace This change uses a different heuristic to decide on what the best window to add a new tab is from the last window which has been interacted with, which might even be in a different workspace, to the window with the most tabs in the current workspace. If no window exists on the current workspace one will be created. Partial fix for https://bugzilla.gnome.org/show_bug.cgi?id=685976 --- src/ephy-shell.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ephy-shell.h') diff --git a/src/ephy-shell.h b/src/ephy-shell.h index 3cf8b1844..057d7cbe5 100644 --- a/src/ephy-shell.h +++ b/src/ephy-shell.h @@ -176,6 +176,8 @@ GList *ephy_shell_get_windows (EphyShell *shell); guint ephy_shell_get_n_windows (EphyShell *shell); +EphyWindow *ephy_shell_get_main_window (EphyShell *shell); + gboolean ephy_shell_close_all_windows (EphyShell *shell); G_END_DECLS -- cgit v1.2.3