summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/notebook.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/notebook.c b/src/notebook.c
index 9eec2b8..277117c 100644
--- a/src/notebook.c
+++ b/src/notebook.c
@@ -176,6 +176,9 @@ insert_page(MqNotebook *notebook, MqTabTree *node, const gchar *uri)
GTK_WIDGET(node->page), TRUE);
gtk_widget_show_all(GTK_WIDGET(node->page));
gtk_widget_show_all(GTK_WIDGET(node->label));
+
+ mq_tab_page_update_position(node->page, MQ_TREE(node)->position);
+ mq_tab_label_set_position(node->label, MQ_TREE(node)->position);
}
MqTabPage *