bug-buddy r2743 - in trunk: . src



Author: cosimoc
Date: Mon Oct 13 19:50:24 2008
New Revision: 2743
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2743&view=rev

Log:
2008-10-13  Cosimo Cecchi  <cosimoc gnome org>

	* src/bug-buddy.c: (on_send_clicked):
	Actually hide the "Send" button after clicking it (#556129).


Modified:
   trunk/ChangeLog
   trunk/src/bug-buddy.c

Modified: trunk/src/bug-buddy.c
==============================================================================
--- trunk/src/bug-buddy.c	(original)
+++ trunk/src/bug-buddy.c	Mon Oct 13 19:50:24 2008
@@ -1050,6 +1050,12 @@
 			return;
 	}
 
+	/* hide the send button immediately so that the user can't click
+	 * it more than once (this will create multiple bugs).
+	 */
+	gtk_widget_hide (GTK_WIDGET (
+			gtk_builder_get_object (ui, "send-button")));
+
 	gtk_widget_show (GTK_WIDGET (
 			gtk_builder_get_object (ui, "progressbar")));
 	gtk_widget_hide (GTK_WIDGET (



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