[f-spot] Disable Gphoto2. Crashes every time
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Disable Gphoto2. Crashes every time
- Date: Sun, 16 May 2010 10:33:10 +0000 (UTC)
commit ac79f0d68bda862c217cca454428b10d06539b60
Author: Ruben Vermeersch <ruben savanne be>
Date: Sun May 16 11:58:23 2010 +0200
Disable Gphoto2. Crashes every time
https://bugzilla.gnome.org/show_bug.cgi?id=618773
src/ImportCommand.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/ImportCommand.cs b/src/ImportCommand.cs
index 307010f..e503fee 100644
--- a/src/ImportCommand.cs
+++ b/src/ImportCommand.cs
@@ -189,13 +189,13 @@ public class ImportCommand : GladeDialog
source_count++;
}
+ // FIXME This crashes every time, replace by gvfs https://bugzilla.gnome.org/show_bug.cgi?id=618773
+ //GPhotoCamera cam = new GPhotoCamera ();
+ //cam.DetectCameras ();
+ //int camera_count = cam.CameraList.Count;
- GPhotoCamera cam = new GPhotoCamera ();
- cam.DetectCameras ();
- int camera_count = cam.CameraList.Count;
-
- if (camera_count > 0) {
- source_count += camera_count;
+ if (/*camera_count > 0*/false) {
+ /*source_count += camera_count;
for (int i = 0; i < camera_count; i++) {
string handle = cam.CameraList.GetValue (i);
if (camera_count == 1 || handle != "usb:") {
@@ -211,7 +211,7 @@ public class ImportCommand : GladeDialog
item.Activated += HandleActivated;
this.Append (item);
}
- }
+ }*/
} else {
ImportSource source = new BrowseSource (Catalog.GetString ("(No Cameras Detected)"),
"camera-photo");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]