summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-19 00:41:14 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-19 00:41:14 (EDT)
commit2f9cd52f0359e79dea158a43436c4a09bafb0f22 (patch)
treec4984959796cdc07ea82d66ca3e2251e39941748 /src
parent9ea66998c1041c1ca5b4a19b976f17fb5e57d7ff (diff)
downloadmarquee-2f9cd52f0359e79dea158a43436c4a09bafb0f22.zip
marquee-2f9cd52f0359e79dea158a43436c4a09bafb0f22.tar.gz
marquee-2f9cd52f0359e79dea158a43436c4a09bafb0f22.tar.bz2
mq_tab_body_new(): Remove sidebar
Diffstat (limited to 'src')
-rw-r--r--src/tab-body.c7
1 files changed, 1 insertions, 6 deletions
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;