Add signals for when we want to be zoomed or maximised
This commit is contained in:
parent
b43695b23d
commit
fdcd1c89f9
@ -47,6 +47,8 @@ class Terminal(gtk.VBox):
|
||||
'tab-new': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
|
||||
'tab-top-new': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
|
||||
'focus-in': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
|
||||
'zoom': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
|
||||
'maximise': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
|
||||
}
|
||||
|
||||
TARGET_TYPE_VTE = 8
|
||||
@ -521,11 +523,11 @@ class Terminal(gtk.VBox):
|
||||
|
||||
def zoom(self):
|
||||
"""Zoom ourself to fill the window"""
|
||||
pass
|
||||
self.emit('zoom')
|
||||
|
||||
def maximise(self):
|
||||
"""Maximise ourself to fill the window"""
|
||||
pass
|
||||
self.emit('maximise')
|
||||
|
||||
def spawn_child(self, widget=None):
|
||||
update_records = self.config['update_records']
|
||||
|
Loading…
Reference in New Issue
Block a user