summaryrefslogtreecommitdiffstats
path: root/graphics/shotwell/files/patch-src__main.vala
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/shotwell/files/patch-src__main.vala')
-rw-r--r--graphics/shotwell/files/patch-src__main.vala14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/shotwell/files/patch-src__main.vala b/graphics/shotwell/files/patch-src__main.vala
new file mode 100644
index 000000000..099b9e726
--- /dev/null
+++ b/graphics/shotwell/files/patch-src__main.vala
@@ -0,0 +1,14 @@
+--- src/main.vala.orig 2010-09-07 10:48:53.000000000 -0300
++++ src/main.vala 2010-09-07 10:49:28.000000000 -0300
+@@ -16,9 +16,11 @@
+ Unique.Response response = Unique.Response.OK;
+
+ switch (command) {
++#if !NO_CAMERA
+ case ShotwellCommand.MOUNTED_CAMERA:
+ LibraryWindow.get_app().mounted_camera_shell_notification(data.get_text(), false);
+ break;
++#endif
+
+ case Unique.Command.ACTIVATE:
+ LibraryWindow.get_app().present_with_time(timestamp);