mirror of https://github.com/qarmin/czkawka
Split files to different folders (#575)
parent
53c4bd4f20
commit
489ec3cfda
@ -1,6 +1,6 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::gui_data::GuiData;
|
use crate::gui_structs::gui_data::GuiData;
|
||||||
|
|
||||||
const SPONSOR_SITE: &str = "https://github.com/sponsors/qarmin";
|
const SPONSOR_SITE: &str = "https://github.com/sponsors/qarmin";
|
||||||
const REPOSITORY_SITE: &str = "https://github.com/qarmin/czkawka";
|
const REPOSITORY_SITE: &str = "https://github.com/qarmin/czkawka";
|
@ -1,7 +1,7 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::gui_data::GuiData;
|
use crate::gui_structs::gui_data::GuiData;
|
||||||
use crate::gui_popovers::GuiPopovers;
|
use crate::gui_structs::gui_popovers::GuiPopovers;
|
||||||
use crate::help_functions::{PopoverTypes, NOTEBOOKS_INFOS};
|
use crate::help_functions::{PopoverTypes, NOTEBOOKS_INFOS};
|
||||||
use crate::notebook_enums::*;
|
use crate::notebook_enums::*;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::gui_data::GuiData;
|
use crate::gui_structs::gui_data::GuiData;
|
||||||
use crate::help_functions::KEY_ENTER;
|
use crate::help_functions::KEY_ENTER;
|
||||||
|
|
||||||
pub fn connect_button_stop(gui_data: &GuiData) {
|
pub fn connect_button_stop(gui_data: &GuiData) {
|
@ -1,6 +1,6 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::gui_data::GuiData;
|
use crate::gui_structs::gui_data::GuiData;
|
||||||
|
|
||||||
pub fn connect_button_about(gui_data: &GuiData) {
|
pub fn connect_button_about(gui_data: &GuiData) {
|
||||||
let about_dialog = gui_data.about.about_dialog.clone();
|
let about_dialog = gui_data.about.about_dialog.clone();
|
@ -1,6 +1,6 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::gui_data::GuiData;
|
use crate::gui_structs::gui_data::GuiData;
|
||||||
use crate::help_functions::*;
|
use crate::help_functions::*;
|
||||||
use crate::notebook_enums::*;
|
use crate::notebook_enums::*;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::gui_data::GuiData;
|
use crate::gui_structs::gui_data::GuiData;
|
||||||
|
|
||||||
pub fn connect_show_hide_ui(gui_data: &GuiData) {
|
pub fn connect_show_hide_ui(gui_data: &GuiData) {
|
||||||
let check_button_settings_show_text_view = gui_data.settings.check_button_settings_show_text_view.clone();
|
let check_button_settings_show_text_view = gui_data.settings.check_button_settings_show_text_view.clone();
|
@ -0,0 +1,19 @@
|
|||||||
|
pub mod connect_about_buttons;
|
||||||
|
pub mod connect_button_compare;
|
||||||
|
pub mod connect_button_delete;
|
||||||
|
pub mod connect_button_hardlink;
|
||||||
|
pub mod connect_button_move;
|
||||||
|
pub mod connect_button_save;
|
||||||
|
pub mod connect_button_search;
|
||||||
|
pub mod connect_button_select;
|
||||||
|
pub mod connect_button_stop;
|
||||||
|
pub mod connect_change_language;
|
||||||
|
pub mod connect_duplicate_buttons;
|
||||||
|
pub mod connect_header_buttons;
|
||||||
|
pub mod connect_notebook_tabs;
|
||||||
|
pub mod connect_popovers;
|
||||||
|
pub mod connect_progress_window;
|
||||||
|
pub mod connect_selection_of_directories;
|
||||||
|
pub mod connect_settings;
|
||||||
|
pub mod connect_show_hide_ui;
|
||||||
|
pub mod connect_similar_image_size_change;
|
@ -1,8 +1,8 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
use gtk::{Bin, Widget};
|
use gtk::{Bin, Widget};
|
||||||
|
|
||||||
use crate::fl;
|
|
||||||
use crate::help_functions::get_custom_label_from_button_with_image;
|
use crate::help_functions::get_custom_label_from_button_with_image;
|
||||||
|
use czkawka_core::fl;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct GuiBottomButtons {
|
pub struct GuiBottomButtons {
|
@ -1,6 +1,6 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
|
|
||||||
use crate::fl;
|
use czkawka_core::fl;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct GuiHeader {
|
pub struct GuiHeader {
|
@ -1,9 +1,9 @@
|
|||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
use gtk::{Bin, EventControllerKey, TreeView};
|
use gtk::{Bin, EventControllerKey, TreeView};
|
||||||
|
|
||||||
use crate::fl;
|
|
||||||
use crate::help_functions::get_custom_label_from_button_with_image;
|
use crate::help_functions::get_custom_label_from_button_with_image;
|
||||||
use crate::notebook_enums::NotebookUpperEnum;
|
use crate::notebook_enums::NotebookUpperEnum;
|
||||||
|
use czkawka_core::fl;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct GuiUpperNotebook {
|
pub struct GuiUpperNotebook {
|
@ -0,0 +1,10 @@
|
|||||||
|
mod gui_about;
|
||||||
|
mod gui_bottom_buttons;
|
||||||
|
mod gui_compare_images;
|
||||||
|
pub mod gui_data;
|
||||||
|
mod gui_header;
|
||||||
|
pub mod gui_main_notebook;
|
||||||
|
pub mod gui_popovers;
|
||||||
|
mod gui_progress_dialog;
|
||||||
|
pub mod gui_settings;
|
||||||
|
pub mod gui_upper_notebook;
|
Loading…
Reference in New Issue