[cheese/three-point-oh] Made action buttons insensitive when effects selector is on



commit 320a0db922d7a550af5f9e06be740d4d8e968f14
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date:   Sun Jul 11 19:45:57 2010 +0530

    Made action buttons insensitive when effects selector is on

 src/cheese-window.vala |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 506a641..adf3eec 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -446,6 +446,12 @@ public class Cheese.MainWindow : Gtk.Window
   internal void on_effects_toggle (Gtk.ToggleAction action)
   {
     toggle_effects_selector (action.active);
+    take_photo_action.sensitive = !action.active;
+    take_video_action.sensitive = !action.active;
+    take_burst_action.sensitive = !action.active;
+    photo_mode_action.sensitive = !action.active;
+    video_mode_action.sensitive = !action.active;
+    burst_mode_action.sensitive = !action.active;
   }
 
   internal void on_selected_effect_change (Mx.Button button)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]