Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make better look white theme #450

Merged
merged 1 commit into from
Nov 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- GUI frontend - uses modern GTK 3 and looks similar to FSlint
- Rich search option - allows setting absolute included and excluded directories, set of allowed file extensions
or excluded items with the `*` wildcard
- No spying - Czkawka does not have access to the Internet, nor does it collect any user information or statistics
- Multiple tools to use:
- Duplicates - Finds duplicates based on file name, size, hash, hash of just first 1 MB of a file
- Empty Folders - Finds empty folders with the help of an advanced algorithm
Expand Down
2 changes: 1 addition & 1 deletion czkawka_core/src/similar_images.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ impl SimilarImages {
let temp_max_similarity = match self.hash_size {
4 => SIMILAR_VALUES[0][5],
8 => SIMILAR_VALUES[1][5],
16 => SIMILAR_VALUES[1][5],
16 => SIMILAR_VALUES[2][5],
_ => panic!(),
};

Expand Down
6 changes: 3 additions & 3 deletions czkawka_gui/src/create_tree_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn create_tree_view_duplicates(tree_view: &mut gtk::TreeView) {
column.pack_start(&renderer, true);
column.set_resizable(false);
column.set_fixed_width(30);
column.add_attribute(&renderer, "visible", ColumnsDuplicates::VisibleSelectButton as i32);
column.add_attribute(&renderer, "activatable", ColumnsDuplicates::ActivatableSelectButton as i32);
column.add_attribute(&renderer, "active", ColumnsDuplicates::ActiveSelectButton as i32);
column.add_attribute(&renderer, "cell-background", ColumnsDuplicates::Color as i32);
tree_view.append_column(&column);
Expand Down Expand Up @@ -286,7 +286,7 @@ pub fn create_tree_view_similar_images(tree_view: &mut gtk::TreeView) {
column.pack_start(&renderer, true);
column.set_resizable(false);
column.set_fixed_width(30);
column.add_attribute(&renderer, "visible", ColumnsSimilarImages::VisibleSelectButton as i32);
column.add_attribute(&renderer, "activatable", ColumnsSimilarImages::ActivatableSelectButton as i32);
column.add_attribute(&renderer, "active", ColumnsSimilarImages::ActiveSelectButton as i32);
column.add_attribute(&renderer, "cell-background", ColumnsSimilarImages::Color as i32);
tree_view.append_column(&column);
Expand Down Expand Up @@ -446,7 +446,7 @@ pub fn create_tree_view_same_music(tree_view: &mut gtk::TreeView) {
column.pack_start(&renderer, true);
column.set_resizable(false);
column.set_fixed_width(30);
column.add_attribute(&renderer, "visible", ColumnsSameMusic::VisibleSelectButton as i32);
column.add_attribute(&renderer, "activatable", ColumnsSameMusic::ActivatableSelectButton as i32);
column.add_attribute(&renderer, "active", ColumnsSameMusic::ActiveSelectButton as i32);
column.add_attribute(&renderer, "cell-background", ColumnsSameMusic::Color as i32);
tree_view.append_column(&column);
Expand Down
6 changes: 3 additions & 3 deletions czkawka_gui/src/help_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub enum Message {
#[derive(Debug)]
pub enum ColumnsDuplicates {
// Columns for duplicate treeview
VisibleSelectButton = 0,
ActivatableSelectButton = 0,
ActiveSelectButton,
Name,
Path,
Expand Down Expand Up @@ -72,7 +72,7 @@ pub enum ColumnsTemporaryFiles {
Modification,
}
pub enum ColumnsSimilarImages {
VisibleSelectButton = 0,
ActivatableSelectButton = 0,
ActiveSelectButton,
Similarity,
Size,
Expand All @@ -94,7 +94,7 @@ pub enum ColumnsZeroedFiles {
Modification,
}
pub enum ColumnsSameMusic {
VisibleSelectButton = 0,
ActivatableSelectButton = 0,
ActiveSelectButton,
Size,
SizeAsBytes,
Expand Down
3 changes: 1 addition & 2 deletions instructions/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ sudo xbps-install gcc pkg-config alsa-lib-devel
```

### macOS
Currently, you need to manually install `GTK 3` libraries and the Adwaita theme, because they are dynamically loaded from the OS (*we need
help in using static linking*). One very straight-forward way to do this is by using [Homebrew](https://brew.sh/). Installation in the terminal:
Currently, you need to manually install `GTK 3` libraries and the Adwaita theme, because they are dynamically loaded from the OS (*help in linking statically these things is needed*). One very straight-forward way to do this is by using [Homebrew](https://brew.sh/). Installation in the terminal:
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install gtk+3 adwaita-icon-theme
Expand Down