From 2f9cd52f0359e79dea158a43436c4a09bafb0f22 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 19 Sep 2017 00:41:14 -0400 Subject: mq_tab_body_new(): Remove sidebar --- (limited to 'src/tab-body.c') diff --git a/src/tab-body.c b/src/tab-body.c index 10babd3..d195f6d 100644 --- a/src/tab-body.c +++ b/src/tab-body.c @@ -33,15 +33,10 @@ mq_tab_body_new(gchar *uri) body = malloc(sizeof(*body)); - body->container = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL); - - gtk_paned_add1(GTK_PANED(body->container), gtk_label_new("Sidebar")); - body->web_view = WEBKIT_WEB_VIEW(webkit_web_view_new()); webkit_web_view_load_uri(body->web_view, uri); - gtk_paned_add2(GTK_PANED(body->container), GTK_WIDGET(body->web_view)); - gtk_paned_set_position(GTK_PANED(body->container), 100); + body->container = GTK_WIDGET(body->web_view); gtk_widget_set_vexpand(body->container, TRUE); return body; -- cgit v0.9.1