summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redo/containers_unix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/redo/containers_unix.go b/redo/containers_unix.go
index 6687994..68dbf08 100644
--- a/redo/containers_unix.go
+++ b/redo/containers_unix.go
@@ -28,6 +28,8 @@ func newTab() Tab {
widgetbase: newWidget(widget),
notebook: (*C.GtkNotebook)(unsafe.Pointer(widget)),
}
+ // there are no scrolling arrows by default; add them in case there are too many tabs
+ C.gtk_notebook_set_scrollable(t.notebook, C.TRUE)
return t
}