aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.h
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2012-12-09 22:25:37 +0800
committerGustavo Noronha Silva <gns@gnome.org>2012-12-11 05:15:54 +0800
commitc968c68cabc319896ad4d2096940c9a34d4c13cd (patch)
treed9cde42306f750303d3d35ee701fe58c5040f878 /src/ephy-shell.h
parent3573116d0473da1ca51d1766d412a97185addb9d (diff)
downloadgsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.tar
gsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.tar.gz
gsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.tar.bz2
gsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.tar.lz
gsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.tar.xz
gsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.tar.zst
gsoc2013-epiphany-c968c68cabc319896ad4d2096940c9a34d4c13cd.zip
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
Diffstat (limited to 'src/ephy-shell.h')
-rw-r--r--src/ephy-shell.h2
1 files changed, 2 insertions, 0 deletions
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