diff options
Diffstat (limited to 'src/tab.c')
-rw-r--r-- | src/tab.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,6 +24,7 @@ #include <gtk/gtk.h> #include "tab.h" +#include "tab-chrome.h" MqTab * mq_tab_new(gchar *uri) @@ -31,9 +32,11 @@ mq_tab_new(gchar *uri) MqTab *tab; tab = malloc(sizeof(*tab)); + tab->chrome = mq_tab_chrome_new(uri); tab->container = gtk_grid_new(); - gtk_grid_attach(GTK_GRID(tab->container), gtk_label_new(uri), + gtk_grid_attach(GTK_GRID(tab->container), + mq_tab_chrome_get_container(tab->chrome), 0, 0, 1, 1); gtk_grid_attach(GTK_GRID(tab->container), gtk_label_new("Body"), 0, 1, 1, 1); |