summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-23 05:46:50 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-23 05:46:50 (EDT)
commit4aabd974c360ed0c21c0e2f7da94250368badc79 (patch)
treed64584e8ce5f2c3fadbe89f218ed06f41bf9163d /src
parent7a07f27ef92a31af22033d9d9d895fcd49e9db57 (diff)
downloadmarquee-4aabd974c360ed0c21c0e2f7da94250368badc79.zip
marquee-4aabd974c360ed0c21c0e2f7da94250368badc79.tar.gz
marquee-4aabd974c360ed0c21c0e2f7da94250368badc79.tar.bz2
MqNotebook: Set tab page and label positions
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 *