summaryrefslogtreecommitdiff
path: root/desktop/hotlist.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-07-02 11:41:06 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-07-02 11:41:06 +0000
commit4147c185c8d547e041c1d0c81c283ef0c7942cc8 (patch)
treeebb76bbff7bf4e6a628f125bd02d470d76643215 /desktop/hotlist.c
parentf9566b64050c76c9fc78a0b691cf8c83643c847b (diff)
downloadnetsurf-4147c185c8d547e041c1d0c81c283ef0c7942cc8.tar.gz
netsurf-4147c185c8d547e041c1d0c81c283ef0c7942cc8.tar.bz2
When launching multiple URLs from a treeview, allow to open one window with multiple
tabs instead of one window per URL. Make compatible frontends do this by default. svn path=/trunk/netsurf/; revision=12552
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r--desktop/hotlist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index a740458cb..acfef10cd 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -454,8 +454,10 @@ void hotlist_add_page_xy(const char *url, int x, int y)
/**
* Open the selected entries in separate browser windows.
+ *
+ * \param tabs open multiple entries in tabs in the new window
*/
-void hotlist_launch_selected(void)
+void hotlist_launch_selected(bool tabs)
{
- tree_launch_selected(hotlist_tree);
+ tree_launch_selected(hotlist_tree, tabs);
}