[gthumb/gthumb-3-0] allow to cut files from a selection



commit 5a651c77f2fe8669fdbf03281329e0ab3c4eb270
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Aug 2 13:55:01 2012 +0200

    allow to cut files from a selection

 extensions/selections/gth-file-source-selections.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/selections/gth-file-source-selections.c 
b/extensions/selections/gth-file-source-selections.c
index ce28c07..bab08e3 100644
--- a/extensions/selections/gth-file-source-selections.c
+++ b/extensions/selections/gth-file-source-selections.c
@@ -229,7 +229,7 @@ static gboolean
 gth_file_source_selections_can_cut (GthFileSource *file_source,
                                    GFile         *file)
 {
-       return FALSE;
+       return g_file_has_uri_scheme (file, "selection");
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]