Blame SOURCES/0028-cheese-Fix-the-need-to-press-F11-twice-after-startin.patch

ecdf9b
From cfc2a636dca6e859e0c6ae8ea4a5fd53238dc9b9 Mon Sep 17 00:00:00 2001
ecdf9b
From: Hans de Goede <hdegoede@redhat.com>
ecdf9b
Date: Wed, 12 Jun 2013 18:03:23 +0200
ecdf9b
Subject: [PATCH 28/35] cheese: Fix the need to press F11 twice after starting
ecdf9b
 with -f
ecdf9b
ecdf9b
Change the fullscreen action state, rather then directly calling set_fullscreen
ecdf9b
so that the action state properly reflects the actual fullscreen state,
ecdf9b
avoiding the need to press F11 twice to leave fullscreen after starting
ecdf9b
cheese with -f.
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 e4f2460..032e8cb 100644
ecdf9b
--- a/src/cheese-main.vala
ecdf9b
+++ b/src/cheese-main.vala
ecdf9b
@@ -128,7 +128,7 @@ public class Cheese.Main : Gtk.Application
ecdf9b
       if (wide)
ecdf9b
         main_window.set_wide_mode (true);
ecdf9b
       if (fullscreen)
ecdf9b
-        main_window.set_fullscreen (true);
ecdf9b
+        change_action_state("fullscreen", true);
ecdf9b
 
ecdf9b
       /* Tell the main window to save any changes from here on to GSettings */
ecdf9b
       main_window.is_command_line_startup = false;
ecdf9b
-- 
ecdf9b
1.8.2.1
ecdf9b