Blame SOURCES/0038-cheese-Use-shoot-action-for-webcam-button.patch

ecdf9b
From 56331f71eb77c437e3521dd7ef33e4616e2985cd Mon Sep 17 00:00:00 2001
ecdf9b
From: Hans de Goede <hdegoede@redhat.com>
ecdf9b
Date: Mon, 17 Jun 2013 22:54:57 +0200
ecdf9b
Subject: [PATCH 38/50] cheese: Use shoot action for webcam button
ecdf9b
ecdf9b
Rather then calling on_shoot directly, so that if shoot is disabled, it also
ecdf9b
cannot be triggered through the webcam button.
ecdf9b
ecdf9b
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
ecdf9b
---
ecdf9b
 src/cheese-main.vala | 2 +-
ecdf9b
 1 file changed, 1 insertion(+), 1 deletion(-)
ecdf9b
ecdf9b
diff --git a/src/cheese-main.vala b/src/cheese-main.vala
ecdf9b
index 9ba1a5f..b5ac6cb 100644
ecdf9b
--- a/src/cheese-main.vala
ecdf9b
+++ b/src/cheese-main.vala
ecdf9b
@@ -244,7 +244,7 @@ public class Cheese.Main : Gtk.Application
ecdf9b
         switch (event.keyval)
ecdf9b
         {
ecdf9b
             case Gdk.Key.WebCam:
ecdf9b
-                on_shoot ();
ecdf9b
+                activate_action("shoot", null);
ecdf9b
                 return true;
ecdf9b
         }
ecdf9b
 
ecdf9b
-- 
ecdf9b
1.8.2.1
ecdf9b