mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-09-11 08:55:25 +03:00
Merge pull request #664 from melizasw/master
Change file trash from a gvfs-trash system call to trash() from gio-2.0.
This commit is contained in:
commit
1b0cd8cd3f
@ -108,7 +108,7 @@ namespace TeeJee.FileSystem{
|
||||
|
||||
var file = File.new_for_path (file_path);
|
||||
if (file.query_exists ()) {
|
||||
Posix.system("gvfs-trash '%s'".printf(escape_single_quote(file_path)));
|
||||
file.trash();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ app-gtk:
|
||||
Core/*.vala Gtk/*.vala Utility/*.vala Utility/Gtk/*.vala \
|
||||
-o ${app_name}-gtk \
|
||||
--pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
|
||||
--pkg gee-0.8 --pkg json-glib-1.0 \
|
||||
--pkg gee-0.8 --pkg json-glib-1.0 --pkg gio-2.0 \
|
||||
--pkg gtk+-3.0 --pkg vte-2.91 $(xapp_pkg)
|
||||
|
||||
app-console:
|
||||
@ -65,7 +65,7 @@ app-console:
|
||||
Core/*.vala Utility/*.vala Utility/Gtk/*.vala Console/*.vala \
|
||||
-o ${app_name} \
|
||||
--pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
|
||||
--pkg gee-0.8 --pkg json-glib-1.0 \
|
||||
--pkg gee-0.8 --pkg json-glib-1.0 --pkg gio-2.0 \
|
||||
--pkg gtk+-3.0 --pkg vte-2.91 $(xapp_pkg)
|
||||
|
||||
manpage:
|
||||
|
Loading…
Reference in New Issue
Block a user