[cheese] Use video path for trashing videos, bug 670178
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Use video path for trashing videos, bug 670178
- Date: Thu, 16 Feb 2012 08:31:35 +0000 (UTC)
commit 080e2670aa8c58c0725df49aecf5b39ebe96309e
Author: Changbin Shao <changbin shao intel com>
Date: Thu Feb 16 08:24:14 2012 +0000
Use video path for trashing videos, bug 670178
The photo path was used for deleting videos, which would fail if the
paths were different.
src/cheese-window.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index fe482b0..9fc39e4 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -365,7 +365,7 @@ public class Cheese.MainWindow : Gtk.Window
while ((file_info = enumerator.next_file (null)) != null)
{
- file_to_trash = File.new_for_path (fileutil.get_photo_path () + GLib.Path.DIR_SEPARATOR_S + file_info.get_name ());
+ file_to_trash = File.new_for_path (fileutil.get_video_path () + GLib.Path.DIR_SEPARATOR_S + file_info.get_name ());
file_to_trash.trash (null);
}
} catch (Error e)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]