summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-08-15 15:46:15 +0200
committerportix <portix@gmx.net>2012-08-15 15:46:15 +0200
commit2c6a5cb341efc9da66ade7a977857f6932e7819e (patch)
treedb27c4d145913e9eff488087b12623e0fd46a589 /src
parent581a63b1841b3e337d8d7cd867572a02fee9689f (diff)
parent3f57316e1a9691fc0028fae099a7e2f5008a9227 (diff)
downloaddwb-2c6a5cb341efc9da66ade7a977857f6932e7819e.zip
Automated merge with ssh://bitbucket.org/portix/dwb
Diffstat (limited to 'src')
-rw-r--r--src/view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view.c b/src/view.c
index a5e42089..d6720b0f 100644
--- a/src/view.c
+++ b/src/view.c
@@ -1169,6 +1169,7 @@ view_add(const char *uri, gboolean background) {
gtk_box_insert(GTK_BOX(dwb.gui.mainbox), v->scroll, true, true, 0, p, GTK_PACK_START);
dwb.state.views = g_list_insert(dwb.state.views, v, p);
ret = g_list_nth(dwb.state.views, p);
+ scripts_create_tab(ret);
if (background) {
view_set_normal_style(ret);
@@ -1185,10 +1186,10 @@ view_add(const char *uri, gboolean background) {
gtk_box_pack_start(GTK_BOX(dwb.gui.mainbox), v->scroll, true, true, 0);
dwb.state.views = g_list_prepend(dwb.state.views, v);
ret = dwb.state.views;
+ scripts_create_tab(ret);
dwb_focus(ret);
}
- scripts_create_tab(ret);
view_init_signals(ret);
view_init_settings(ret);
if (GET_BOOL("adblocker"))