Remove unused slot
This commit is contained in:
@@ -162,7 +162,6 @@ class Layout: # {{{
|
||||
name = None
|
||||
needs_window_borders = True
|
||||
only_active_window_visible = False
|
||||
layout_data_class = None
|
||||
|
||||
def __init__(self, os_window_id, tab_id, margin_width, single_window_margin_width, padding_width, border_width, layout_opts=''):
|
||||
self.os_window_id = os_window_id
|
||||
@@ -406,10 +405,6 @@ class Layout: # {{{
|
||||
self.blank_rects.append(Rect(window.geometry.left, window.geometry.bottom, window.geometry.right, central.bottom + 1))
|
||||
# }}}
|
||||
|
||||
def layout_data_for_window(self, w):
|
||||
if self.layout_data_class is not None and isinstance(w.layout_data, self.layout_data_class):
|
||||
return w.layout_data
|
||||
|
||||
def do_layout(self, windows, active_window_idx):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
@@ -135,7 +135,6 @@ class Window:
|
||||
|
||||
def __init__(self, tab, child, opts, args, override_title=None, copy_colors_from=None):
|
||||
self.action_on_close = self.action_on_removal = None
|
||||
self.layout_data = None
|
||||
self.current_marker_spec = None
|
||||
self.pty_resized_once = False
|
||||
self.needs_attention = False
|
||||
|
||||
Reference in New Issue
Block a user