diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-22 01:32:12 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-22 01:32:12 (EDT) |
commit | c5ec2c6c37ca5a9548957312d08edc493d512411 (patch) | |
tree | 0b6424bcae94351d0c3de6eac3707b415d4c5eb7 | |
parent | 62253b54c4cbab28e4f47facfbbb810e2372c61a (diff) | |
download | marquee-c5ec2c6c37ca5a9548957312d08edc493d512411.zip marquee-c5ec2c6c37ca5a9548957312d08edc493d512411.tar.gz marquee-c5ec2c6c37ca5a9548957312d08edc493d512411.tar.bz2 |
MqTab: Convert tab page container from grid to box
-rw-r--r-- | src/tab.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -95,13 +95,11 @@ mq_tab_new(gchar *uri) G_CALLBACK(title_cb), tab); mq_tab_chrome_set_web_view(tab->chrome, tab->web_view); - tab->container = gtk_grid_new(); - 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), - mq_tab_body_get_container(tab->body), - 0, 1, 1, 1); + tab->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); + gtk_box_pack_start(GTK_BOX(tab->container), + mq_tab_chrome_get_container(tab->chrome), FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(tab->container), + mq_tab_body_get_container(tab->body), TRUE, TRUE, 0); return tab; } |