diff options
author | Todd Fries <todd@fries.net> | 2011-01-12 18:03:51 +0000 |
---|---|---|
committer | Todd Fries <todd@fries.net> | 2011-01-12 18:03:51 +0000 |
commit | cbe85217c4706f36cef8e27f2d9c89294b843a42 (patch) | |
tree | 862e98fc2f743ac6d63ef8de78c8f19f989c0c21 | |
parent | 431fd3b8df0c7a09bed5264d1a5b2cfe12688d18 (diff) | |
download | xombrero-cbe85217c4706f36cef8e27f2d9c89294b843a42.tar.gz |
lets do the notebook settings once instead of per new tab
-rw-r--r-- | xxxterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c index 584303f..a947209 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -5645,7 +5645,6 @@ create_new_tab(char *title, struct undo *u, int focus) bb = create_button("Close", GTK_STOCK_CLOSE, 1); gtk_widget_set_size_request(t->label, 100, 0); gtk_widget_set_size_request(b, 130, 0); - gtk_notebook_set_homogeneous_tabs(notebook, TRUE); gtk_box_pack_start(GTK_BOX(b), bb, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(b), t->label, FALSE, FALSE, 0); @@ -5942,6 +5941,7 @@ create_canvas(void) } gtk_notebook_set_show_border(notebook, FALSE); gtk_notebook_set_scrollable(notebook, TRUE); + gtk_notebook_set_homogeneous_tabs(notebook, TRUE); gtk_widget_set_can_focus(GTK_WIDGET(notebook), FALSE); abtn = gtk_button_new(); |