fixes issue where moving a term with --no-gconf and
scrollbar_position=disabled in ~/.terminatorrc will create a scroll bar of the left of src and dst terms
This commit is contained in:
parent
df5d260f05
commit
bdad9597f7
|
@ -157,7 +157,7 @@ class TerminatorTerm:
|
||||||
line = line.strip ()
|
line = line.strip ()
|
||||||
if line:
|
if line:
|
||||||
(key,value) = line.split ("=")
|
(key,value) = line.split ("=")
|
||||||
print >> sys.stderr, _('''Overriding setting '%s' from default value '%s' to: '%s' ''')%(key.strip (), self.defaults[key.strip ()], value.strip ())
|
print >> sys.stderr, _('''Overriding setting '%s' from default value '%s' to: '%s' ''') % (key.strip (), self.defaults[key.strip ()], value.strip ())
|
||||||
self.defaults[key.strip ()] = value.strip ()
|
self.defaults[key.strip ()] = value.strip ()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
@ -370,9 +370,9 @@ class TerminatorTerm:
|
||||||
pane.pack1 (dsthbox, True, True)
|
pane.pack1 (dsthbox, True, True)
|
||||||
pane.pack2 (srchbox, True, True)
|
pane.pack2 (srchbox, True, True)
|
||||||
|
|
||||||
pane.show_all()
|
pane.show()
|
||||||
pane.set_position (position / 2)
|
pane.set_position (position / 2)
|
||||||
|
self.reconfigure_vte()
|
||||||
|
|
||||||
def spawn_child (self, event=None):
|
def spawn_child (self, event=None):
|
||||||
update_records = self.gconf_client.get_bool (self.profile + "/update_records") or True
|
update_records = self.gconf_client.get_bool (self.profile + "/update_records") or True
|
||||||
|
|
Loading…
Reference in New Issue