summaryrefslogtreecommitdiff
path: root/libraries/libfm/patches/0019-3589259-Fix-for-dropping-files-onto-Trash-in-Places-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libfm/patches/0019-3589259-Fix-for-dropping-files-onto-Trash-in-Places-.patch')
-rw-r--r--libraries/libfm/patches/0019-3589259-Fix-for-dropping-files-onto-Trash-in-Places-.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/libraries/libfm/patches/0019-3589259-Fix-for-dropping-files-onto-Trash-in-Places-.patch b/libraries/libfm/patches/0019-3589259-Fix-for-dropping-files-onto-Trash-in-Places-.patch
deleted file mode 100644
index d132710fb8..0000000000
--- a/libraries/libfm/patches/0019-3589259-Fix-for-dropping-files-onto-Trash-in-Places-.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 0beaa4830244ab72eeece67bb99802c3aa04f81c Mon Sep 17 00:00:00 2001
-From: Andriy Grytsenko <andrej@rep.kiev.ua>
-Date: Sat, 24 Nov 2012 00:56:34 +0200
-Subject: [PATCH 19/22] [#3589259]Fix for dropping files onto Trash in Places
- sidebar.
-
-The Trash item in Places sidebar has incomplete file info and
-FmDndDest widget thinks it's not droppable target.
-The commit adds job to update Trash item so it will be complete.
----
- src/gtk/fm-places-model.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/gtk/fm-places-model.c b/src/gtk/fm-places-model.c
-index f5d6927..b637089 100644
---- a/src/gtk/fm-places-model.c
-+++ b/src/gtk/fm-places-model.c
-@@ -611,8 +611,13 @@ static void create_trash_item(FmPlacesModel* model)
- FmPlacesItem* item;
- GdkPixbuf* pix;
- GFile* gf;
-+ FmFileInfoJob* job = fm_file_info_job_new(NULL, FM_FILE_INFO_JOB_NONE);
-
- gf = fm_file_new_for_uri("trash:///");
-+ fm_file_info_job_add(job, fm_path_get_trash());
-+ g_signal_connect(job, "finished", G_CALLBACK(on_file_info_job_finished), model);
-+ model->jobs = g_slist_prepend(model->jobs, job);
-+ fm_job_run_async(FM_JOB(job));
- model->trash_monitor = fm_monitor_directory(gf, NULL);
- g_signal_connect(model->trash_monitor, "changed", G_CALLBACK(on_trash_changed), model);
- g_object_unref(gf);
---
-1.8.0.1
-