quite why people want this, I don't know, but they do. see LP question 59635

This commit is contained in:
Chris Jones 2009-02-02 23:01:00 +00:00
parent 2528353e2a
commit 46f17589da
3 changed files with 8 additions and 2 deletions

View File

@ -193,15 +193,19 @@ Default value: \fBTrue\fR
Defines where tabs are placed. Can be any of: top, left, right, bottom.
Default value: \fBtop\fR
.TP
.B extreme_tabs \fB(boolean)\fR
.B extreme_tabs \fR(boolean)
If set to True, tabs can be created within other tabs. Be warned that this can be very confusing and hard to use.
Default value: \fBFalse\fR
.TP
.B hide_tabbar \fR(boolean)
If set to True, the tab bar will be hidden. This means there will be no visual indication of either how many tabs there are, or which one you are on. Be warned that this can be very confusing and hard to use.
Default value: \fBFalse\fR
.TP
.B copy_on_selection \fR(boolean)
If set to True, text selections will be automatically copied to the clipboard, in addition to being made the Primary selection.
Default value: \fBFalse\fR
.TP
.B try_posix_regexp \fB(boolean)\fR
.B try_posix_regexp \fR(boolean)
If set to True, URL matching regexps will try to use POSIX style first, and fall back on GNU style on failure. If you are on Linux but URL matches don't work, try setting this to True. If you are not on Linux, but you get VTE warnings on startup saying "Error compiling regular expression", set this to False to silence them (they are otherwise harmless).
Default value: \fBFalse\fR on Linux, \fBTrue\fR otherwise.
.SH "KEYBINDINGS"

View File

@ -107,6 +107,7 @@ Defaults = {
'tab_position' : 'top',
'enable_real_transparency' : False,
'try_posix_regexp' : platform.system() != 'Linux',
'hide_tabbar' : False,
'keybindings' : {
'zoom_in' : '<Ctrl>plus',
'zoom_out' : '<Ctrl>minus',

View File

@ -683,6 +683,7 @@ class Terminator:
# Config validates this.
pos = getattr(gtk, "POS_%s" % self.conf.tab_position.upper())
notebook.set_tab_pos(pos)
notebook.set_show_tabs (not self.conf.hide_tabbar)
if isinstance(parent, gtk.Paned):
if parent.get_child1() == child: