diff options
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 7fc36cc..db1dbe1 100644 --- a/src/window.c +++ b/src/window.c @@ -24,13 +24,17 @@ #include <gtk/gtk.h> #include "window.h" +#include "tab.h" static void add_tab(MqWindow *window, gchar *uri, gint position) { + MqTab *tab; + + tab = mq_tab_new(uri); /* TODO: Set tab label (container widget with icon and title) */ position = gtk_notebook_insert_page(GTK_NOTEBOOK(window->gtk_notebook), - gtk_label_new(uri), NULL, position); + mq_tab_get_container(tab), NULL, position); } MqWindow * |