Fixing miniview load timing isues

This commit is contained in:
itdominator 2023-11-05 15:57:08 -06:00
parent 038f46fdff
commit 3add597c80
2 changed files with 3 additions and 4 deletions

View File

@ -61,7 +61,8 @@ class EditorsContainer(Gtk.Box):
...
def _load_widgets(self):
miniview = MiniViewWidget()
self.add(Separator("separator_left"))
self.add(EditorsPaned())
self.add(Separator("separator_right"))
self.add(MiniViewWidget())
self.add(miniview)

View File

@ -67,8 +67,6 @@ class SourceView(SourceViewControllerMixin, GtkSource.View):
self.set_show_right_margin(True)
self.set_right_margin_position(80)
self.set_background_pattern(0) # 0 = None, 1 = Grid
# NOTE: Add back once we move to Gtk 4 and use GtkSource 5
# self.set_indenter( AutoIndenter() )
buffer = self.get_buffer()
self._create_default_tag(buffer)
@ -97,4 +95,4 @@ class SourceView(SourceViewControllerMixin, GtkSource.View):
...
def _load_widgets(self):
self._set_up_dnd()
self._set_up_dnd()