summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-24 22:27:08 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-24 22:27:08 (EDT)
commit55f47c853564ecad73e5790c512b085e87c75f11 (patch)
tree3366f5ae34e0e9aac000584df64f05b996673921
parentab0556c7db38369a27179b0c3d0effb45d289e5c (diff)
downloadmarquee-55f47c853564ecad73e5790c512b085e87c75f11.zip
marquee-55f47c853564ecad73e5790c512b085e87c75f11.tar.gz
marquee-55f47c853564ecad73e5790c512b085e87c75f11.tar.bz2
mq_tab_new(), mq_tab_new_relative(): Add tabs to tree
-rw-r--r--src/tab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index c4acd9e..63af87b 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -327,6 +327,8 @@ mq_tab_new(MqApplication *application, gchar *uri, MqTab *source)
tab = init_non_root(application, uri);
+ append_sibling(tab, source);
+
return tab;
}
@@ -337,6 +339,8 @@ mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *source)
tab = init_non_root(application, uri);
+ append_child(tab, source);
+
return tab;
}