subtle change which means starting with scrollbars hidden and then asking them to be shown will default them to the right side, not the left
This commit is contained in:
parent
b58a01e0ec
commit
7ba624d10f
|
@ -135,10 +135,10 @@ class TerminatorTerm (gtk.VBox):
|
||||||
if self.scrollbar_position != "hidden" and self.scrollbar_position != "disabled":
|
if self.scrollbar_position != "hidden" and self.scrollbar_position != "disabled":
|
||||||
self._scrollbar.show ()
|
self._scrollbar.show ()
|
||||||
|
|
||||||
if self.scrollbar_position == 'right':
|
if self.scrollbar_position == 'left':
|
||||||
packfunc = self._termbox.pack_start
|
|
||||||
else:
|
|
||||||
packfunc = self._termbox.pack_end
|
packfunc = self._termbox.pack_end
|
||||||
|
else:
|
||||||
|
packfunc = self._termbox.pack_start
|
||||||
|
|
||||||
packfunc (self._vte)
|
packfunc (self._vte)
|
||||||
packfunc (self._scrollbar, False)
|
packfunc (self._scrollbar, False)
|
||||||
|
|
Loading…
Reference in New Issue