Backport some fixes from Egmont patch-o-rama, plus one from me
* Fix rotate terminals under tabs * Change the scroll_on_output default to false * Fix PuTTY paste mode so Ctrl-Right-Drag terminal still works
This commit is contained in:
commit
0c1e16236b
14
ChangeLog
14
ChangeLog
|
@ -14,16 +14,18 @@ terminator trunk:
|
|||
* remotinator now uses argparse for commandline option handling,
|
||||
vastly improving the option handling
|
||||
* remotinator help strings are translatable now
|
||||
* PuTTY paste mode (Nemilya, LP#1416682) with some alterations
|
||||
(Steve Boddy)
|
||||
* Updated and grouped default shortcuts in man page (Steve Boddy)
|
||||
* Added smart copy mode switch to prefs (Steve Boddy, LP#1223129)
|
||||
* PuTTY paste mode (Nemilya, LP#1416682) with some alterations
|
||||
(Steve Boddy)
|
||||
* Updated and grouped default shortcuts in man page (Steve Boddy)
|
||||
* Added smart copy mode switch to prefs (Steve Boddy, LP#1223129)
|
||||
* Make Zoom/Maximize inactive if a single terminal (Egmont
|
||||
Koblinger, LP#1518081)
|
||||
* Add dimming for 256 colour palettes (Egmont Koblinger,
|
||||
LP#1518111)
|
||||
* Update TERM to more modern values (Egmont Koblinger,
|
||||
LP#1518557)
|
||||
* Change the scroll_on_output default to false (Egmont Koblinger,
|
||||
LP#1392822)
|
||||
|
||||
Bug fixes
|
||||
* Fix for those not running IBus, where the IBus workaround caused
|
||||
|
@ -52,6 +54,10 @@ terminator trunk:
|
|||
LP#1518554)
|
||||
* Correct terminator_config man page regarding scrollback (Egmont
|
||||
Koblinger, LP#1518559)
|
||||
* Fix rotate terminals under tabs (Egmont Koblinger, LP#1316573,
|
||||
LP#1520360)
|
||||
* Fix PuTTY paste mode so Ctrl-Right-Drag terminal still works
|
||||
(Steve Boddy)
|
||||
|
||||
terminator 0.98:
|
||||
* Features
|
||||
|
|
|
@ -456,7 +456,7 @@ Default value: \fBTrue\fR
|
|||
.TP
|
||||
.B scroll_on_output \fR(boolean)
|
||||
If true, whenever there's new output the terminal will scroll to the bottom.
|
||||
Default value: \fBTrue\fR
|
||||
Default value: \fBFalse\fR
|
||||
.TP
|
||||
.B alternate_screen_scroll \fR(boolean)
|
||||
Whether or not the mouse wheel scrolls alternate screen buffers (man, vim, mutt, etc). This is the default behavior of VTE, however Ubuntu and possbly other distributions feature patched versions of VTE where this functionality is optional. The option only effects the patched versions of VTE, otherwise it is ignored.
|
||||
|
|
|
@ -225,7 +225,7 @@ DEFAULTS = {
|
|||
'scrollbar_position' : "right",
|
||||
'scroll_background' : True,
|
||||
'scroll_on_keystroke' : True,
|
||||
'scroll_on_output' : True,
|
||||
'scroll_on_output' : False,
|
||||
'scrollback_lines' : 500,
|
||||
'scrollback_infinite' : False,
|
||||
'exit_action' : 'close',
|
||||
|
|
|
@ -297,9 +297,11 @@ class Notebook(Container, gtk.Notebook):
|
|||
break
|
||||
|
||||
self.set_tab_label(widget, label)
|
||||
self.set_tab_label_packing(term_widget, not self.config['scroll_tabbar'],
|
||||
not self.config['scroll_tabbar'],
|
||||
gtk.PACK_START)
|
||||
gobject.idle_add(self.set_tab_label_packing,
|
||||
term_widget,
|
||||
not self.config['scroll_tabbar'],
|
||||
not self.config['scroll_tabbar'],
|
||||
gtk.PACK_START)
|
||||
|
||||
self.set_tab_reorderable(widget, True)
|
||||
self.set_current_page(tabpos)
|
||||
|
|
|
@ -925,11 +925,11 @@ class Terminal(gtk.VBox):
|
|||
return True
|
||||
|
||||
if self.config['putty_paste_style']:
|
||||
btn_to_paste = self.MOUSEBUTTON_RIGHT
|
||||
btn_to_context_menu = self.MOUSEBUTTON_MIDDLE
|
||||
middle_click = [self.popup_menu, (widget, event)]
|
||||
right_click = [self.paste_clipboard, (True, )]
|
||||
else:
|
||||
btn_to_paste = self.MOUSEBUTTON_MIDDLE
|
||||
btn_to_context_menu = self.MOUSEBUTTON_RIGHT
|
||||
middle_click = [self.paste_clipboard, (True, )]
|
||||
right_click = [self.popup_menu, (widget, event)]
|
||||
|
||||
if event.button == self.MOUSEBUTTON_LEFT:
|
||||
# Ctrl+leftclick on a URL should open it
|
||||
|
@ -937,14 +937,14 @@ class Terminal(gtk.VBox):
|
|||
url = self.check_for_url(event)
|
||||
if url:
|
||||
self.open_url(url, prepare=True)
|
||||
elif event.button == btn_to_paste:
|
||||
elif event.button == self.MOUSEBUTTON_MIDDLE:
|
||||
# middleclick should paste the clipboard
|
||||
self.paste_clipboard(True)
|
||||
middle_click[0](*middle_click[1])
|
||||
return(True)
|
||||
elif event.button == btn_to_context_menu:
|
||||
elif event.button == self.MOUSEBUTTON_RIGHT:
|
||||
# rightclick should display a context menu if Ctrl is not pressed
|
||||
if event.state & gtk.gdk.CONTROL_MASK == 0:
|
||||
self.popup_menu(widget, event)
|
||||
right_click[0](*right_click[1])
|
||||
return(True)
|
||||
|
||||
return(False)
|
||||
|
|
|
@ -536,9 +536,15 @@ class Window(Container, gtk.Window):
|
|||
maker = Factory()
|
||||
# collect all paned children in breadth-first order
|
||||
paned = []
|
||||
for child in self.get_children():
|
||||
if maker.isinstance(child, 'Paned'):
|
||||
paned.append(child)
|
||||
child = self.get_child()
|
||||
|
||||
# If our child is a Notebook, reset to work from its visible child
|
||||
if maker.isinstance(child, 'Notebook'):
|
||||
pagenum = child.get_current_page()
|
||||
child = child.get_nth_page(pagenum)
|
||||
|
||||
if maker.isinstance(child, 'Paned'):
|
||||
paned.append(child)
|
||||
for p in paned:
|
||||
for child in p.get_children():
|
||||
if child not in paned and maker.isinstance(child, 'Paned'):
|
||||
|
|
Loading…
Reference in New Issue