Moving settings out of global space; added editor commands and wired them
This commit is contained in:
@@ -43,7 +43,7 @@ class BaseContainer(Gtk.Box):
|
||||
self.add( FooterContainer() )
|
||||
|
||||
def _update_transparency(self):
|
||||
self.ctx.add_class(f"mw_transparency_{settings.theming.transparency}")
|
||||
self.ctx.add_class(f"mw_transparency_{settings_manager.settings.theming.transparency}")
|
||||
|
||||
def _remove_transparency(self):
|
||||
self.ctx.remove_class(f"mw_transparency_{settings.theming.transparency}")
|
||||
self.ctx.remove_class(f"mw_transparency_{settings_manager.settings.theming.transparency}")
|
||||
@@ -6,6 +6,7 @@ gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
|
||||
# Application imports
|
||||
from .code.editors_container import EditorsContainer
|
||||
|
||||
|
||||
|
||||
@@ -35,4 +36,4 @@ class FooterContainer(Gtk.Box):
|
||||
...
|
||||
|
||||
def _load_widgets(self):
|
||||
...
|
||||
self.add( EditorsContainer() )
|
||||
|
||||
Reference in New Issue
Block a user