♻ update deps

This commit is contained in:
Vladislav Nepogodin 2023-09-17 03:41:01 +04:00
parent dbb6b85ee3
commit f43471d257
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
4 changed files with 283 additions and 289 deletions

520
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,24 +6,24 @@ license = "GPLv3"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
alpm = { default-features = false, version = "2.2.2" } alpm = { default-features = false, version = "2" }
alpm-utils = { features = ["conf"], default-features = false, version = "2.0.0" } alpm-utils = { features = ["conf"], default-features = false, version = "2" }
pacmanconf = "2.0.0" pacmanconf = "2"
subprocess = "0.2.9" subprocess = "0.2"
once_cell = { default-features = false, version = "1.18.0" } once_cell = { default-features = false, version = "1.18" }
i18n-embed = { version = "0.13.9", features = ["fluent-system", "desktop-requester"] } i18n-embed = { version = "0.14", features = ["fluent-system", "desktop-requester"] }
i18n-embed-fl = "0.6.7" i18n-embed-fl = "0.7"
rust-embed = { version = "6.7.0", features = ["debug-embed", "include-exclude"] } rust-embed = { version = "8", features = ["debug-embed", "include-exclude"] }
gtk = { version = "0.17.1", default-features = false } gtk = { version = "0.18", default-features = false }
gio = { version = "0.17.10", default-features = false } gio = { version = "0.18", default-features = false }
gdk = "0.17.1" gdk = "0.18"
gdk-pixbuf = "0.17.10" gdk-pixbuf = "0.18"
glib = { default-features = false, version = "0.17.10" } glib = { default-features = false, version = "0.18" }
serde = { version = "1.0.164", default-features = false } serde = { version = "1", default-features = false }
serde_json = "1.0.97" serde_json = "1"
reqwest = { version = "0.11.18", features = ["blocking"] } reqwest = { version = "0.11", features = ["blocking"] }
unic-langid = "0.9.1" unic-langid = "0.9"
[profile.release] [profile.release]
strip = "symbols" strip = "symbols"

View File

@ -394,13 +394,13 @@ fn on_query_tooltip_tree_view(
fn on_button_press_event_tree_view( fn on_button_press_event_tree_view(
treeview: &gtk::TreeView, treeview: &gtk::TreeView,
event_btn: &gdk::EventButton, event_btn: &gdk::EventButton,
) -> gtk::glib::signal::Inhibit { ) -> glib::Propagation {
if event_btn.button() == 1 && event_btn.event_type() == gdk::EventType::DoubleButtonPress { if event_btn.button() == 1 && event_btn.event_type() == gdk::EventType::DoubleButtonPress {
if let Some(coords) = event_btn.coords() { if let Some(coords) = event_btn.coords() {
let (x, y) = coords; let (x, y) = coords;
let path_info = treeview.path_at_pos(x as i32, y as i32); let path_info = treeview.path_at_pos(x as i32, y as i32);
if path_info.is_none() { if path_info.is_none() {
return gtk::glib::signal::Inhibit(true); return glib::Propagation::Stop;
} }
let (path, ..) = path_info.unwrap(); let (path, ..) = path_info.unwrap();
@ -419,7 +419,7 @@ fn on_button_press_event_tree_view(
} }
} }
gtk::glib::signal::Inhibit(false) glib::Propagation::Proceed
} }
fn on_app_toggle(_cell: &gtk::CellRendererToggle, path: gtk::TreePath) { fn on_app_toggle(_cell: &gtk::CellRendererToggle, path: gtk::TreePath) {

View File

@ -133,7 +133,7 @@ fn create_fixes_section() -> gtk::Box {
} }
// Create context channel. // Create context channel.
let (dialog_tx, dialog_rx) = glib::MainContext::channel(glib::PRIORITY_DEFAULT); let (dialog_tx, dialog_rx) = glib::MainContext::channel(glib::Priority::default());
// Connect signals. // Connect signals.
let dialog_tx_clone = dialog_tx.clone(); let dialog_tx_clone = dialog_tx.clone();
@ -230,7 +230,7 @@ fn create_fixes_section() -> gtk::Box {
.modal(true) .modal(true)
.build(); .build();
dialog.show(); dialog.show();
glib::Continue(true) glib::ControlFlow::Continue
}); });
topbox.pack_start(&label, true, false, 1); topbox.pack_start(&label, true, false, 1);
@ -525,7 +525,7 @@ fn on_servbtn_clicked(button: &gtk::CheckButton) {
}; };
// Create context channel. // Create context channel.
let (tx, rx) = glib::MainContext::channel(glib::PRIORITY_DEFAULT); let (tx, rx) = glib::MainContext::channel(glib::Priority::default());
// Spawn child process in separate thread. // Spawn child process in separate thread.
std::thread::spawn(move || { std::thread::spawn(move || {
@ -568,7 +568,7 @@ fn on_servbtn_clicked(button: &gtk::CheckButton) {
.build(); .build();
dialog.show(); dialog.show();
} }
glib::Continue(true) glib::ControlFlow::Continue
}); });
} }
@ -665,7 +665,7 @@ fn on_appbtn_clicked(button: &gtk::Button) {
let bash_cmd = format!("{} {}", &envs, &exe_path); let bash_cmd = format!("{} {}", &envs, &exe_path);
// Create context channel. // Create context channel.
let (tx, rx) = glib::MainContext::channel(glib::PRIORITY_DEFAULT); let (tx, rx) = glib::MainContext::channel(glib::Priority::default());
// Spawn child process in separate thread. // Spawn child process in separate thread.
std::thread::spawn(move || { std::thread::spawn(move || {
@ -680,7 +680,7 @@ fn on_appbtn_clicked(button: &gtk::Button) {
rx.attach(None, move |text| { rx.attach(None, move |text| {
println!("{text}"); println!("{text}");
glib::Continue(true) glib::ControlFlow::Continue
}); });
} }