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:
Chris Jones 2008-05-28 17:47:01 +01:00
parent b58a01e0ec
commit 7ba624d10f

View File

@ -135,10 +135,10 @@ class TerminatorTerm (gtk.VBox):
if self.scrollbar_position != "hidden" and self.scrollbar_position != "disabled":
self._scrollbar.show ()
if self.scrollbar_position == 'right':
packfunc = self._termbox.pack_start
else:
if self.scrollbar_position == 'left':
packfunc = self._termbox.pack_end
else:
packfunc = self._termbox.pack_start
packfunc (self._vte)
packfunc (self._scrollbar, False)