Revert commits 291..293
This commit is contained in:
parent
e4a6b6393e
commit
d8a39862f1
|
@ -147,7 +147,6 @@ class Terminator:
|
||||||
self.window.connect ("delete_event", self.on_delete_event)
|
self.window.connect ("delete_event", self.on_delete_event)
|
||||||
self.window.connect ("destroy", self.on_destroy_event)
|
self.window.connect ("destroy", self.on_destroy_event)
|
||||||
self.window.connect ("window-state-event", self.on_window_state_changed)
|
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)
|
self.window.set_property ('allow-shrink', True)
|
||||||
|
|
||||||
|
@ -197,9 +196,6 @@ class Terminator:
|
||||||
|
|
||||||
return (False)
|
return (False)
|
||||||
|
|
||||||
def on_focus (self, direction, data=None):
|
|
||||||
self.window.queue_draw ()
|
|
||||||
|
|
||||||
def on_delete_event (self, window, event, data=None):
|
def on_delete_event (self, window, event, data=None):
|
||||||
if len (self.term_list) == 1:
|
if len (self.term_list) == 1:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue