Skip to content

Commit

Permalink
Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Nov 16, 2023
1 parent a14ace1 commit 447eb98
Show file tree
Hide file tree
Showing 10 changed files with 130 additions and 80 deletions.
120 changes: 71 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion czkawka_gui/src/connect_things/connect_change_language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn change_language(gui_data: &GuiData) {
pub fn load_system_language(gui_data: &GuiData) {
let requested_languages = DesktopLanguageRequester::requested_languages();

if let Some(language) = requested_languages.get(0) {
if let Some(language) = requested_languages.first() {
let old_short_lang = language.to_string();
let mut short_lang = String::new();
// removes from e.g. en_zb, ending _zd since Czkawka don't support this(maybe could add this in future, but only when)
Expand Down
2 changes: 1 addition & 1 deletion czkawka_gui/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::GuiData;
pub fn validate_notebook_data(gui_data: &GuiData) {
// Test treeviews names, each treeview should have set name same as variable name

for (_i, item) in gui_data.main_notebook.get_main_tree_views().iter().enumerate() {
for item in gui_data.main_notebook.get_main_tree_views().iter() {
// println!("Checking {} element", i);

get_notebook_enum_from_tree_view(item);
Expand Down
Loading

0 comments on commit 447eb98

Please sign in to comment.