Entirely fix up the previous commit, the exception wasn't working at all
This commit is contained in:
parent
b3c6e06964
commit
2ac04e20be
|
@ -361,13 +361,17 @@ class Terminator:
|
||||||
term.spawn_child ()
|
term.spawn_child ()
|
||||||
self.save_yourself ()
|
self.save_yourself ()
|
||||||
|
|
||||||
|
couldbind = False
|
||||||
try:
|
try:
|
||||||
bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term)
|
couldbind = bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
if couldbind:
|
||||||
if hidden or self.conf.hidden:
|
if hidden or self.conf.hidden:
|
||||||
self.hide()
|
self.hide()
|
||||||
except:
|
else:
|
||||||
dbg (_("Unable to bind hide_window key"))
|
if hidden or self.conf.hidden:
|
||||||
pass
|
self.window.iconify()
|
||||||
|
|
||||||
def set_handle_size (self, size):
|
def set_handle_size (self, size):
|
||||||
if size in xrange (0,6):
|
if size in xrange (0,6):
|
||||||
|
|
Loading…
Reference in New Issue