cargo: Update deps
This commit is contained in:
parent
7b85404d67
commit
2a8a13fd01
3 changed files with 382 additions and 421 deletions
797
Cargo.lock
generated
797
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -25,7 +25,7 @@ async-lock = "3.4.0"
|
|||
cairo-rs = { version = "0.21.0", features = ["pdf"] }
|
||||
chrono = { version = "0.4.38", default-features = false, features = ["std"] }
|
||||
gettext-rs = { version = "0.7.0", features = ["gettext-system"] }
|
||||
gettext-sys = { version = "0.22.5", features = ["gettext-system"] }
|
||||
gettext-sys = { version = "0.26.0", features = ["gettext-system"] }
|
||||
gio = { version = "0.21.0", features = ["v2_74"] }
|
||||
glycin = { version = "3.0.4", features = ["gdk4", "unstable-config"] }
|
||||
gtk = { package = "gtk4", version = "0.10.0", features = [
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ use gtk::Widget;
|
|||
use crate::application::LpApplication;
|
||||
use crate::config;
|
||||
use crate::deps::*;
|
||||
use crate::util::Direction;
|
||||
use crate::util::gettext::*;
|
||||
use crate::util::root::ParentWindow;
|
||||
use crate::util::Direction;
|
||||
use crate::widgets::window::ActionPartGlobal;
|
||||
use crate::widgets::{LpDragOverlay, LpImage, LpImageView, LpPropertiesView};
|
||||
|
||||
|
|
@ -690,7 +690,7 @@ impl LpImageWindow {
|
|||
]);
|
||||
dialog.set_response_appearance("delete", adw::ResponseAppearance::Destructive);
|
||||
|
||||
if "delete" == dialog.choose_future(self).await {
|
||||
if "delete" == dialog.choose_future(Some(self)).await {
|
||||
let file = gio::File::for_path(path);
|
||||
let result = file.delete_future(glib::Priority::default()).await;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue