[cheese] Fixed bug where you can start multiple countdowns in photo mode that run together and mess up the co



commit 73cdd3ec6b440f0f8063e0623f6d57dfe4523775
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date:   Wed Aug 11 14:46:14 2010 +0530

    Fixed bug where you can start multiple countdowns in photo mode that run
    together and mess up the counter

 src/cheese-window.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 2064938..1e09c49 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -589,12 +589,16 @@ public class Cheese.MainWindow : Gtk.Window
                                  Canberra.PROP_EVENT_DESCRIPTION, _("Shutter sound"),
                                  null);
     this.camera.take_photo (file_name);
+	if (current_mode == MediaMode.PHOTO)
+		take_photo_action.sensitive = true;
   }
 
   public void take_photo ()
   {
     if (conf.gconf_prop_countdown)
     {
+		if (current_mode == MediaMode.PHOTO)
+			take_photo_action.sensitive = false;
       Countdown cd = new Countdown (this.countdown_layer);
       cd.start_countdown (finish_countdown_callback);
     }



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