1
0
Fork 0
mirror of synced 2024-04-29 01:52:39 +12:00

Make better look white theme (#450)

This commit is contained in:
Rafał Mikrut 2021-11-20 09:43:24 +01:00 committed by GitHub
parent 2846a49bd6
commit 418ad73327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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);
@ -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);
@ -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);

View file

@ -31,7 +31,7 @@ pub enum Message {
#[derive(Debug)]
pub enum ColumnsDuplicates {
// Columns for duplicate treeview
VisibleSelectButton = 0,
ActivatableSelectButton = 0,
ActiveSelectButton,
Name,
Path,
@ -72,7 +72,7 @@ pub enum ColumnsTemporaryFiles {
Modification,
}
pub enum ColumnsSimilarImages {
VisibleSelectButton = 0,
ActivatableSelectButton = 0,
ActiveSelectButton,
Similarity,
Size,
@ -94,7 +94,7 @@ pub enum ColumnsZeroedFiles {
Modification,
}
pub enum ColumnsSameMusic {
VisibleSelectButton = 0,
ActivatableSelectButton = 0,
ActiveSelectButton,
Size,
SizeAsBytes,

View file

@ -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