1
0
Fork 0
mirror of synced 2024-06-03 02:54:36 +12:00
This commit is contained in:
Rafał Mikrut 2022-01-05 22:37:13 +01:00
parent d591a2320f
commit 6eb1022803
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ use gtk::prelude::*;
use i18n_embed::unic_langid::LanguageIdentifier;
use i18n_embed::DesktopLanguageRequester;
use crate::language_functions::get_language_from_combo_box_text;
// use i18n_embed::{DesktopLanguageRequester, Localizer};

View file

@ -7,14 +7,14 @@ use gtk::prelude::*;
use gtk::WindowType;
use crate::connect_change_language::*;
use czkawka_core::*;
mod connect_change_language;
mod language_functions;
fn main() {
let application = gtk::Application::builder().build();
application.connect_activate(move |application| {
application.connect_activate(move |_application| {
load_system_language(); // Check for default system language, must be loaded after initializing GUI and before loading settings from file
connect_change_language();