Rate limiting gconf is pointless, users will have to live with whatever happens until it happens and I boggle at it
This commit is contained in:
parent
ebe23f5933
commit
aa23129e08
|
@ -34,7 +34,6 @@ import getopt
|
||||||
import math
|
import math
|
||||||
|
|
||||||
class TerminatorTerm:
|
class TerminatorTerm:
|
||||||
lastreconfigure = 0
|
|
||||||
|
|
||||||
# Our settings
|
# Our settings
|
||||||
# FIXME: Add commandline and/or gconf options to change these
|
# FIXME: Add commandline and/or gconf options to change these
|
||||||
|
@ -131,11 +130,6 @@ class TerminatorTerm:
|
||||||
self._vte.fork_command (command = shell, argv = args, envv = [], loglastlog = login, logwtmp = update_records, logutmp = update_records)
|
self._vte.fork_command (command = shell, argv = args, envv = [], loglastlog = login, logwtmp = update_records, logutmp = update_records)
|
||||||
|
|
||||||
def reconfigure_vte (self):
|
def reconfigure_vte (self):
|
||||||
if ((self.lastreconfigure != 0) and (time.time () - self.lastreconfigure) < 5):
|
|
||||||
# Rate limit
|
|
||||||
return
|
|
||||||
self.lastreconfigure = time.time ()
|
|
||||||
|
|
||||||
# Set our emulation
|
# Set our emulation
|
||||||
self._vte.set_emulation (self.defaults['emulation'])
|
self._vte.set_emulation (self.defaults['emulation'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue