Show file dialog for library selection

This commit is contained in:
Elias Projahn 2023-09-15 10:12:36 +02:00
parent 3df4e8e3f4
commit 8c56e90994
7 changed files with 160 additions and 17 deletions

View file

@ -10,6 +10,8 @@ use gettextrs::{bind_textdomain_codeset, bindtextdomain, textdomain};
use gtk::{gio, glib, prelude::*};
fn main() -> glib::ExitCode {
tracing_subscriber::fmt::init();
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR).expect("Unable to bind the text domain");
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8")
.expect("Unable to set the text domain encoding");