summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-25 00:18:45 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-25 00:18:45 (EDT)
commit07556f315d414ec2c0c2d2a32cfe70dcb2715d98 (patch)
tree5b4e7ab9e53f1c82c011b20a13cadafb4cbaa9a7
parentfbe55170aa976884537b72a243c1d697632ee416 (diff)
downloadmarquee-07556f315d414ec2c0c2d2a32cfe70dcb2715d98.zip
marquee-07556f315d414ec2c0c2d2a32cfe70dcb2715d98.tar.gz
marquee-07556f315d414ec2c0c2d2a32cfe70dcb2715d98.tar.bz2
mq_tab_new(), mq_tab_new_relative(): Call mq_window_insert_tab()
-rw-r--r--src/tab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 22fdc3e..0adf5e0 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -339,6 +339,8 @@ mq_tab_new(MqWindow *window, gchar *uri, MqTab *source)
append_sibling(tab, source);
+ mq_window_insert_tab(window, tab->container, tab->tab, tab->position);
+
return tab;
}
@@ -351,6 +353,8 @@ mq_tab_new_relative(MqWindow *window, gchar *uri, MqTab *source)
append_child(tab, source);
+ mq_window_insert_tab(window, tab->container, tab->tab, tab->position);
+
return tab;
}