[24024] in Source-Commits
/svn/athena r23633 - in trunk/athena/bin/sendbug: . debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Mon Mar 16 14:54:56 2009
Date: Mon, 16 Mar 2009 14:54:45 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200903161854.n2GIsjhA026231@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-03-16 14:54:44 -0400 (Mon, 16 Mar 2009)
New Revision: 23633
Modified:
trunk/athena/bin/sendbug/debian/changelog
trunk/athena/bin/sendbug/sendbug.sh
Log:
In sendbug:
* If a user clicks "cancel" in the zenity dialog, actually
quit. (Trac: #157)
Modified: trunk/athena/bin/sendbug/debian/changelog
===================================================================
--- trunk/athena/bin/sendbug/debian/changelog 2009-03-16 12:28:59 UTC (rev 23632)
+++ trunk/athena/bin/sendbug/debian/changelog 2009-03-16 18:54:44 UTC (rev 23633)
@@ -1,3 +1,10 @@
+debathena-sendbug (10.0.2-0debathena1) unstable; urgency=low
+
+ * If a user clicks "cancel" in the zenity dialog, actually
+ quit. (Trac: #157)
+
+ -- Evan Broder <broder@mit.edu> Mon, 16 Mar 2009 14:51:17 -0400
+
debathena-sendbug (10.0.1-debathena1) unstable; urgency=low
* Change "Athena 10" to "Debathena Beta" in the bug report template.
Modified: trunk/athena/bin/sendbug/sendbug.sh
===================================================================
--- trunk/athena/bin/sendbug/sendbug.sh 2009-03-16 12:28:59 UTC (rev 23632)
+++ trunk/athena/bin/sendbug/sendbug.sh 2009-03-16 18:54:44 UTC (rev 23633)
@@ -32,7 +32,9 @@
text="Please enter the name of the program or locker with which you are"
text="$text having problems."
if [ true = "$gnome" ]; then
- subject=$(zenity --entry --text="$text")
+ if ! subject=$(zenity --entry --text="$text"); then
+ exit
+ fi
else
echo "$text" || fmt
echo -n ' --> '