|
|
|
@ -132,7 +132,9 @@ void Window::configure() { |
|
|
|
auto css_provider = Gtk::CssProvider::get_named(Singleton::Config::window()->theme_name, Singleton::Config::window()->theme_variant); |
|
|
|
auto css_provider = Gtk::CssProvider::get_named(Singleton::Config::window()->theme_name, Singleton::Config::window()->theme_variant); |
|
|
|
//TODO: add check if theme exists, or else write error to Singleton::terminal()
|
|
|
|
//TODO: add check if theme exists, or else write error to Singleton::terminal()
|
|
|
|
style_context->add_provider_for_screen(screen, css_provider, GTK_STYLE_PROVIDER_PRIORITY_SETTINGS); |
|
|
|
style_context->add_provider_for_screen(screen, css_provider, GTK_STYLE_PROVIDER_PRIORITY_SETTINGS); |
|
|
|
|
|
|
|
if(Singleton::directories() != nullptr) { |
|
|
|
|
|
|
|
Singleton::directories()->update(); |
|
|
|
|
|
|
|
} |
|
|
|
Singleton::menu()->set_keys(); |
|
|
|
Singleton::menu()->set_keys(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|