diff options
-rw-r--r-- | src/window.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index d88ab86..4629920 100644 --- a/src/window.c +++ b/src/window.c @@ -224,10 +224,16 @@ constructed(GObject *object) if (window->uris && window->uris[0]) { for (i = 0; window->uris && window->uris[i]; ++i) { - mq_tab_page_new(window, window->uris[i]); + mq_notebook_insert_sibling( + MQ_NOTEBOOK(window->notebook), + window->uris[i], + NULL); } } else { - mq_tab_page_new(window, NULL); + mq_notebook_insert_sibling( + MQ_NOTEBOOK(window->notebook), + NULL, + NULL); } gtk_widget_show_all(GTK_WIDGET(window)); |