This isn't required as it was solved properly elsewhere
This commit is contained in:
parent
4d04648811
commit
747095c870
|
@ -243,12 +243,10 @@ class TerminatorTerm:
|
|||
def do_scrollbar_toggle (self):
|
||||
if self._scrollbar.get_property ('visible'):
|
||||
self._scrollbar.hide ()
|
||||
self.scrollbarhide = True
|
||||
else:
|
||||
# We need to make the terminal narrower by the width of the scrollbar
|
||||
self._vte.set_size (self._vte.get_column_count () - int(math.ceil(self._scrollbar.allocation.width / self._vte.get_char_width ())), self._vte.get_row_count ())
|
||||
self._scrollbar.show ()
|
||||
self.scrollbarhide = False
|
||||
|
||||
def on_vte_key_press (self, term, event):
|
||||
keyname = gtk.gdk.keyval_name (event.keyval)
|
||||
|
|
Loading…
Reference in New Issue