cheese r602 - in branches/gnome-2-22: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r602 - in branches/gnome-2-22: . src
- Date: Tue, 18 Mar 2008 23:45:12 +0000 (GMT)
Author: dgsiegel
Date: Tue Mar 18 23:45:12 2008
New Revision: 602
URL: http://svn.gnome.org/viewvc/cheese?rev=602&view=rev
Log:
do not allow to take pictures, while the webcam is initialising, fixes bug #523121
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/cheese-window.c
Modified: branches/gnome-2-22/src/cheese-window.c
==============================================================================
--- branches/gnome-2-22/src/cheese-window.c (original)
+++ branches/gnome-2-22/src/cheese-window.c Tue Mar 18 23:45:12 2008
@@ -1045,6 +1045,7 @@
gtk_label_set_text_with_mnemonic (GTK_LABEL (cheese_window->label_take_photo), str);
g_free (str);
gtk_label_set_use_markup (GTK_LABEL (cheese_window->label_take_photo), TRUE);
+ gtk_widget_set_sensitive (GTK_WIDGET (cheese_window->take_picture), FALSE);
cheese_window->thumb_view = cheese_thumb_view_new ();
gtk_container_add (GTK_CONTAINER (cheese_window->thumb_scrollwindow), cheese_window->thumb_view);
@@ -1192,6 +1193,7 @@
gtk_notebook_set_current_page (GTK_NOTEBOOK(cheese_window->notebook), 0);
ephy_spinner_stop (EPHY_SPINNER (cheese_window->throbber));
gdk_threads_leave ();
+ gtk_widget_set_sensitive (GTK_WIDGET (cheese_window->take_picture), TRUE);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]