candidate fix for LP #242852
This commit is contained in:
parent
0240f588ea
commit
d424fd24e1
|
@ -133,6 +133,7 @@ class Terminator:
|
|||
self.window.connect ("delete_event", self.on_delete_event)
|
||||
self.window.connect ("destroy", self.on_destroy_event)
|
||||
self.window.connect ("window-state-event", self.on_window_state_changed)
|
||||
self.window.connect ("focus", self.on_focus)
|
||||
|
||||
self.window.set_property ('allow-shrink', True)
|
||||
|
||||
|
@ -182,6 +183,9 @@ class Terminator:
|
|||
|
||||
return (False)
|
||||
|
||||
def on_focus (self, direction):
|
||||
self.window.queue_draw ()
|
||||
|
||||
def on_delete_event (self, window, event, data=None):
|
||||
if len (self.term_list) == 1:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue