[cheese/gsettings-vala] Made the fullscreen preference reflect with the fullscreen action
- From: Yuvaraj Pandian <yuvipanda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/gsettings-vala] Made the fullscreen preference reflect with the fullscreen action
- Date: Sat, 7 Aug 2010 07:48:11 +0000 (UTC)
commit 5f833d57c4a94c9da9231516c99d139695be3511
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date: Sat Aug 7 13:16:01 2010 +0530
Made the fullscreen preference reflect with the fullscreen action
src/cheese-window.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 4220d87..387e40d 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -79,6 +79,7 @@ public class Cheese.MainWindow : Gtk.Window
private Gtk.Action burst_mode_action;
private Gtk.ToggleAction effects_toggle_action;
private Gtk.ToggleAction wide_mode_action;
+ private Gtk.ToggleAction fullscreen_action;
private Gtk.Action countdown_action;
private Gtk.Action effects_page_prev_action;
private Gtk.Action effects_page_next_action;
@@ -876,6 +877,7 @@ public class Cheese.MainWindow : Gtk.Window
effects_toggle_action = (Gtk.ToggleAction)gtk_builder.get_object ("effects_toggle");
countdown_action = (Gtk.Action)gtk_builder.get_object ("countdown");
wide_mode_action = (Gtk.ToggleAction)gtk_builder.get_object ("wide_mode");
+ fullscreen_action = (Gtk.ToggleAction)gtk_builder.get_object ("fullscreen");
effects_page_next_action = (Gtk.Action)gtk_builder.get_object ("effects_page_next");
effects_page_prev_action = (Gtk.Action)gtk_builder.get_object ("effects_page_prev");
@@ -928,7 +930,7 @@ public class Cheese.MainWindow : Gtk.Window
setup_effects_selector ();
if (conf.fullscreen)
- set_fullscreen_mode (true);
+ fullscreen_action.active = true;
}
public void setup_camera ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]