Skip to content

Commit

Permalink
fix: unset GTK_THEME
Browse files Browse the repository at this point in the history
Fixes issues with custom themes breaking colors in the history list.

Ref: #152
  • Loading branch information
FineFindus committed Jul 24, 2024
1 parent 669f89e commit 2fcf2bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ fn main() -> ExitCode {
// Initialize logger
pretty_env_logger::init();

// ensure Adwaita will be used
std::env::remove_var("GTK_THEME");

// Prepare i18n
gettextrs::setlocale(LocaleCategory::LcAll, "");
gettextrs::bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR).expect("Unable to bind the text domain");
Expand Down

0 comments on commit 2fcf2bc

Please sign in to comment.