aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-11 06:24:00 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-11 06:24:00 +0800
commit523a1a5640ca41fa174ea10b0a4b79c196c2f478 (patch)
tree042790b7ac19cf1e1b361e656a35c550f914d236
parentadc07dd4d08a53f8167ebf033381992e952d40e8 (diff)
downloadgsoc2013-evolution-523a1a5640ca41fa174ea10b0a4b79c196c2f478.tar.gz
gsoc2013-evolution-523a1a5640ca41fa174ea10b0a4b79c196c2f478.tar.zst
gsoc2013-evolution-523a1a5640ca41fa174ea10b0a4b79c196c2f478.zip
Make escape equivalent to cancel in the error and query dialogs
svn path=/trunk/; revision=4708
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/mail-threads.c13
-rw-r--r--mail/test-thread.c4
3 files changed, 23 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 8584abeda7..bd868a3246 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2000-08-10 Peter Williams <peterw@helixcode.com>
+
+ * test-thread.c (queue_ops): Use mail_operations_terminate() to
+ close the other thread nicely.
+
+ * mail-threads.c (get_password_deleted): Handle the "close" event
+ as a cancel.
+ (show_error): Same.
+
2000-08-10 Dan Winship <danw@helixcode.com>
* mail-tools.c (mail_tool_get_folder_from_urlname): Add a
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index 7f5e796a51..ab85daf1c6 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -194,8 +194,9 @@ static void show_error_clicked (GtkObject * obj);
static void get_password (com_msg_t * msg);
static void get_password_cb (gchar * string, gpointer data);
static void get_password_clicked (GnomeDialog * dialog, gint button,
-
gpointer user_data);
+static void get_password_deleted (GtkWidget *widget, gpointer user_data);
+
static gboolean progress_timeout (gpointer data);
static void timeout_toggle (gboolean active);
static gboolean display_timeout (gpointer data);
@@ -990,6 +991,8 @@ show_error (com_msg_t * msg)
err_dialog = gnome_error_dialog (msg->message);
gnome_dialog_set_close (GNOME_DIALOG (err_dialog), TRUE);
+ gtk_signal_connect (GTK_OBJECT (err_dialog), "close",
+ (GtkSignalFunc) show_error_clicked, NULL);
gtk_signal_connect (GTK_OBJECT (err_dialog), "clicked",
(GtkSignalFunc) show_error_clicked, NULL);
g_free (msg->message);
@@ -1055,6 +1058,8 @@ get_password (com_msg_t * msg)
gnome_dialog_set_close (GNOME_DIALOG (dialog), TRUE);
gtk_signal_connect (GTK_OBJECT (dialog), "clicked",
get_password_clicked, msg);
+ gtk_signal_connect (GTK_OBJECT (dialog), "close",
+ get_password_deleted, msg);
/* Save the old message, but display a new one right now */
gtk_label_get (GTK_LABEL (queue_window_message), &old_message);
@@ -1097,6 +1102,12 @@ get_password_cb (gchar * string, gpointer data)
}
static void
+get_password_deleted (GtkWidget *widget, gpointer user_data)
+{
+ get_password_clicked (GNOME_DIALOG (widget), 1, user_data);
+}
+
+static void
get_password_clicked (GnomeDialog * dialog, gint button, gpointer user_data)
{
com_msg_t *msg = (com_msg_t *) user_data;
diff --git a/mail/test-thread.c b/mail/test-thread.c
index 7a389605ec..eddf9dd7c8 100644
--- a/mail/test-thread.c
+++ b/mail/test-thread.c
@@ -70,8 +70,8 @@ static gboolean queue_ops( void )
mail_operation_queue( &spec7, NULL, FALSE );
mail_operation_queue( &spec8, NULL, FALSE );
- g_message( "Waiting for finish AGAIN..." );
- mail_operation_wait_for_finish();
+ g_message( "Waiting for finish for the last time..." );
+ mail_operations_terminate();
g_message( "Ops done again. Exiting 0" );
gtk_exit( 0 );
return FALSE;
1:33 +0800'>2003-12-041-1/+1 * Unlock ports tree. Ports tree is now semi-frozen. No sweeping commitsmarcus2003-09-241-1/+1 * Lock out access to the ports tree while I prepare for 4.9-RELEASE.marcus2003-09-241-1/+1 * Remove lock on ports tree. Ports are now unfrozen, but as usual pleasekris2003-06-011-1/+1 * Lock out access to the ports collection while I work on preparing it forkris2003-05-231-1/+1 * Unlock ports tree after taggingkris2003-03-221-1/+1 * Lock out ports tree in preparation for tagging of 4.8-RELEASEkris2003-03-221-1/+1 * Allow a per-repo box as well as a global onepeter2003-03-191-1/+1 * Catch up to projects/peter2003-02-281-9/+0 * Actually use the meisters group. I hope.peter2003-01-091-0/+1 * Release lock on ports collection.kris2003-01-011-1/+1 * Lock out the ports tree for RELEASE_5_0_0 taggingkris2003-01-011-1/+1 * Reopen the src tree.scottl2002-12-131-1/+1 * Lock the src tree for branching RELENG_5_0scottl2002-12-131-1/+1 * Unlock the ports tree now that Mario is finished converting PORTCOMMENTwill2002-11-111-1/+1 * Temporarily lock out the ports collection so lioux can revert thekris2002-11-101-1/+1 * Thaw the ports tree.kris2002-10-051-1/+1 * Lock down the ports tree for tagging of 4.7-RELEASEkris2002-10-021-1/+1 * Open the src/contrib/tcpdump door a wee bit so that I can commit some bug fixesnectar2002-07-121-1/+1 * badcommitters,v is gone, this is just a plaintext file now.peter2002-07-031-3/+0 * This is getting out of hand, techo solution to social problem.imp2002-07-011-0/+3 * People's gratiuous commits have caused us to not get an updated tcpdumpobrien2002-06-211-0/+4 * Tagging is finished. RELENG_4 and RELENG_4_6 are still frozen.murray2002-06-111-1/+1 * Lock src/ for 30-45 minutes while the RELENG_4_6_0_RELEASE tag ismurray2002-06-111-1/+1 * Unlock src/. RELENG_4_6_BP tag and RELENG_4_6 branch created.murray2002-06-061-1/+1 * Lock src/ temporarily for the creation of the RELENG_4_6 branch.murray2002-06-061-1/+1 * Fix typo noticed by ken.imp2002-05-291-1/+1 * Better verbageimp2002-05-291-4/+2 * Add a penalty box. These changes are from Joe@. They allow one to beimp2002-05-291-1/+6 * Ports freeze for 4.6-RELEASE is over.kris2002-05-251-1/+1 * Lock down the ports collection in preparation for tagging 4.6-RELEASE.kris2002-05-251-1/+1 * All done.imp2002-05-091-1/+0 * Last one winsimp2002-05-091-1/+1 * Test with joe's helpimp2002-05-091-0/+2 * Back out tests, done nowimp2002-05-091-2/+0 * Second Testimp2002-05-091-1/+1 * Testing how groups workimp2002-05-091-0/+2 * Drop the strong lock on UPDATINGimp2002-04-051-3/+0 * Unlock the ports collection now that tagging is complete.kris2002-04-021-1/+1 * Lock down the ports tree in preparation for tagging 5.0-DP1kris2002-04-021-1/+1 * Add Chris Faulhaber (jedgar) to the list of people allowed to commitimp2002-02-241-1/+1 * Remove myself from the UPDATING ACL. The covert operation wasmurray2002-01-291-1/+1 * Put on flame-resistant suit and temporarily give myself access tomurray2002-01-281-1/+1 * Unlock src. RELENG_4_5_0_RELEASE has been tagged. The release is notmurray2002-01-281-1/+1 * Lock the tree for 30 minutes while the RELENG_4_5_0_RELEASE tags go down.murray2002-01-281-1/+1 * Unfreeze src/, The RELENG_4_5_BP tag and the RELENG_4_5 branch havemurray2002-01-261-1/+1 * Lock src/ temporarily for creation of the RELENG_4_5 branch.murray2002-01-261-1/+1 * The ports tree is now unfrozen and the what should be the final packagewill2002-01-231-1/+1 * Ports tree is now frozen in preparation for 4.5-RELEASE.will2002-01-231-1/+1 * Remove the locks around gcc & friends. Time for the commits.obrien2001-12-181-4/+0 * nectar will soon have an entry for UPDATING, so let him make itimp2001-12-031-1/+1 * Add some comments to point to where the file syntax is defined.joe2001-11-161-2/+7 * Add an entry for the soon-to-appear "projects" top-level directory.jdp2001-10-091-0/+1 * Put a technological barrior in place.imp2001-10-011-0/+2 * End the blockout of sys/{nfsclient,nfsserver}peter2001-09-191-3/+0 * Maybe this will work a little better. cvs_acls was seeing the ++ aspeter2001-09-181-1/+1 * Temporarily lock down the gcc parts of the repo, pending the rest ofpeter2001-09-181-0/+4 * Ports freeze is over, thank you for your patience.asami2001-09-131-1/+1 * Ports tree is frozen again for 4.4R package reroll.asami2001-09-131-1/+1 * Ports freeze is over now, thanks for your cooperation. :)asami2001-09-041-1/+1 * Ports tree is now frozen in preparation for 4.4-release.asami2001-09-041-1/+1 * Please, no more commits to src/sys/nfsclient!peter2001-08-241-0/+3 * Unfreeze the doc/ tree. Everyone seems to be happy that backing out thenik2001-06-131-1/+1 * With my doc/ repo-meister hat on, freeze the doc tree. This is so we cannik2001-06-111-1/+1 * Revert last commit, issue resolved.peter2001-05-171-1/+0 * Nick (nsayer), please contact me.peter2001-05-171-0/+1 * Ports freeze is over!asami2001-04-191-1/+1 * Another ports freeze is coming, due to samba problems.asami2001-04-191-1/+1 * Ports freeze is now over. Thanks for the patience, folks.asami2001-04-181-1/+1 * xemacs fixed, ports tree is frozen again.asami2001-04-181-1/+1 * Add knu as emergency measure while he fixes xemacs* ports.asami2001-04-181-1/+1 * The ports tree is now frozen in preparation for 4.3-release.asami2001-04-181-1/+1 * Switch commits back on now that I've fixed the bogon in log_accum.pl.joe2001-02-271-6/+6 * Switch off commits temporarily, whilst I chase down a potentialjoe2001-02-271-6/+6 * The 4.2R ports freeze is (really) over. Thanks for your cooperation.asami2000-11-171-1/+1 * The ports tree is frozen again as I finally got answers from the CVSasami2000-11-171-1/+1 * The ports freeze for 4.2R is over, hopefully for the last time.asami2000-11-171-1/+1 * The ports tree is now frozen (again) in preparation for 4.2R.asami2000-11-171-1/+1 * Ports freeze is over. It is now officially too late to put anythingasami2000-11-041-1/+1 * The ports tree is now frozen in preparation for 4.2R.asami2000-11-041-1/+1 * The conversion is over.asami2000-10-081-1/+1 * The ports tree is now locked for the layout change.asami2000-10-081-1/+1 * The ports freeze is over. Thanks for your cooperation! :>asami2000-09-221-1/+1 * The ports tree is now frozen in preparation for 4.1.1-release.asami2000-09-221-1/+1 * The ports freeze is over. We are now officially in the post-4.1 stageasami2000-07-201-1/+1 * The ports tree is now frozen in preparation for 4.1-release.asami2000-07-201-1/+1 * Remove the freeze on the crypto files.jdp2000-07-071-8/+0 * Impose a freeze on all the crypto files while we fold the cryptojdp2000-07-051-0/+8 * Unlock the ports tree, the tag is down now.asami2000-06-171-1/+1 * Lock up the ports tree for a couple of hours while I work on the release.asami2000-06-171-1/+1 * Token commit to test commits on the new freefall..peter2000-05-061-1/+0 * I believe we have finished converting all ports. I'll fix whateverasami2000-04-141-1/+1 * Add obrien to the ports list so he can help convert ports.mharo2000-04-121-1/+1 * Add knu to the ports list so he can help in fixing up the Japanese ports.asami2000-04-111-1/+1 * As announced before, the ports tree is now frozen while mharo andasami2000-04-091-1/+1 * The ports freeze is now over -- thanks for your cooperation.asami2000-03-191-1/+1 * The ports tree is now in freeze in preparation for 4.0R. Nobody other thanasami2000-03-121-1/+1 * The ports freeze is over now. I can't remember a release thatasami1999-12-221-1/+1 * The ports tree is now in freeze in preparation for 3.4R. Nobody other thanasami1999-12-111-1/+1 * Turn src/sys back on.. It was restored from a backup about 10 minutespeter1999-11-051-2/+0 * Turn off src/sys commits until the kame disaster(?) is resolved, in casepeter1999-11-051-0/+2 * Ports freeze for 3.3R is now over.asami1999-09-171-1/+1 * The ports tree is now in freeze in preparation for 3.3R. Nobody other thanasami1999-09-111-1/+1 * Specifically allow people to commit to each of the top level directoriespeter1999-09-101-2/+8 * $Id$ -> $FreeBSD$peter1999-08-281-1/+1 * Simplify avail a bit in the aftermath of 'access'.peter1999-08-081-17/+4 * Welcome Chris Costello <chris> to the Clear Air Turbulence.eivind1999-08-071-2/+2 * Add Peter Holm. Welcome!markm1999-08-051-2/+2 * The handbook pages that get changed when this file changes moved on us,billf1999-08-011-2/+2 * Add two new committers who are going to work on the IPv6 code.markm1999-07-301-2/+2 * Add Matthew N. Dodd, who will be working on the EISA, PCI and newbus code.msmith1999-07-271-2/+2 * Add Seigo Tanimura as a committer to work on midi drivers. Welcome!dfr1999-07-151-2/+2 * Add Cameron Grant who will be working on the pcm drivers. Welcome aboard!dfr1999-07-071-2/+2 * Add Marcel Moolenaar, who will be working on the Linux compatibility sidemsmith1999-07-041-3/+3 * Add Takahashi Yoshihiro, who will be working on the PC98 port.msmith1999-07-011-2/+2 * Add MAEKAWA Masahide who has been enslaved by Kazu.msmith1999-07-011-2/+2 * Add Larry Lile, who will be working on the Token Ring drivers.eivind1999-07-011-2/+2 * Add Daniel Baker, who will be working on ports under Satoshi's auspices.msmith1999-06-301-2/+2 * Add Daniel Eischen (at long last!). Welcome aboard!msmith1999-06-301-2/+2 * Add Chris Piazza. Welcome aboard! Please introduce yourself tomarkm1999-06-191-2/+2 * Add Mitsuru IWASAKI. Welcome aboard!markm1999-06-181-2/+2 * Add Brian Feldman. Welcome aboard!markm1999-06-181-2/+2 * Add Sheldon Hearn. Welcome aboard!markm1999-06-151-2/+2 * Add Kevin Lo to committers - welcome, Kevin!jkh1999-05-281-2/+2 * Add Ruslan Ermilov to committers - welcome aboard!jkh1999-05-281-2/+2 * Add Mark J. Taylor to committers - welcome, Mark!jkh1999-05-261-2/+2 * Add andreas back, he has acknowleged the reception of my mail and won'tasami1999-05-151-2/+2 * Temporarily suspend Andreas' commit privs before he can do any moreasami1999-05-151-2/+2 * Add Tom Hukins ("tom"). He will be working primarily on the documentation.asami1999-05-011-2/+2 * Add Richard Seaman, welcome aboard!msmith1999-04-161-2/+2 * Ladies and gentlement, please welcome Mr.asami1999-04-131-2/+2 * Unfreeze the handbook now that Nik's done converting it.jdp1999-04-051-7/+1 * Welcome, Nick Sayer, to committers!jkh1999-03-301-2/+2 * Add Jason Evans. Welcome aboard!msmith1999-03-111-2/+2 * Impose a freeze on "doc/handbook" and "doc/en/handbook", as announcedjdp1999-03-031-1/+7 * A big hand to our new committer, Mr.asami1999-03-021-2/+2 * *** empty log message ***jkh1999-02-261-2/+2 * Add Mr.asami1999-02-251-2/+2 * Add Alan Cox to committers. Welcome, Alan!jkh1999-02-231-2/+2 * Add Julian Elischer back - this was not an approved commit.jkh1999-02-211-2/+2 * Suspend Julian Elischers commit bit until the issue of the oltr driversphk1999-02-211-2/+2 * Everyone, please welcome Kris Kennaway <kkenn@rebel.net.au> ("kris") toasami1999-02-191-2/+2 * Add Daniel Sobral, who will be working on the bootloader.msmith1999-02-031-2/+2 * Add Roger Hardiman to committers.sos1999-01-211-2/+2 * Just to clarify, the previous commit (removal of jamil) was performedmsmith1999-01-211-1/+1 * G'bye.msmith1999-01-201-2/+2 * Add Andrew Gallatin, who will be working on the Alpha port (amongst othermsmith1999-01-161-2/+2 * Add Mr. Hidetoshi Shimokawa <simokawa> to the rank of committers. He willasami1999-01-021-2/+2 * Add Hellmuth Michaelis to committers.jkh1998-12-281-2/+2 * Add Dirk Froemberg <ibex@physik.TU-Berlin.DE> (knows as "dirk" on ourasami1998-12-221-2/+2 * Add Mark Newton (SVr4 emulation work) and Mike Spengler (requested by phk,msmith1998-12-211-2/+2 * Add Howard F. Hu to committers.jkh1998-12-111-2/+2 * Add jesusr (whoops).jkh1998-12-101-2/+2 * Add Wes Peters to committers; welcome, Wes!jkh1998-11-261-4/+2 * Please welcomeasami1998-11-141-2/+2 * Add Nick Hibma, who will be working on our USB stack.msmith1998-11-141-2/+4 * Add Bill Fumerola (billf) to the list. Bill will commit his own ports.asami1998-11-111-2/+2 * Add Archie Cobbs to committers - welcome!jkh1998-11-061-2/+2 * Don Lewis is now a committer. Welcome aboard, Don!jdp1998-11-061-2/+2 * Added Kirk McKusick <mckusick>. Welcome aboard, Kirk.dg1998-09-301-2/+2 * Add Kenneth Merry by prior arrangementjkh1998-09-091-2/+2 * remove meganm by own request.jkh1998-09-091-2/+2 * Add Luigi Rizzo to committers - welcome, Luigi!jkh1998-09-061-2/+2 * Belatedly add Robert Baron and Greg Lehey to committers.jkh1998-08-301-2/+2 * Add Mr.asami1998-08-241-2/+2 * Add Luoqi Chen; welcome aboard!msmith1998-08-241-2/+2 * Add Andrzej Bialecki to committers so he can maintain picobsd asjkh1998-08-231-2/+2 * Add Nicolas Souchu, who will be working on ppbus and i2c.msmith1998-08-101-2/+2 * John Dyson left FreeBSD around 14-June-1998.wosch1998-08-081-2/+2 * Add Doug White to committers. Welcome aboard, Doug!jkh1998-08-071-2/+2 * Amancio Hasty has stepped down as maintainer of the bt848 driver.phk1998-07-281-2/+2 * Welcome Eric J. Chet (ejc) to the rank of committers. He's going to,asami1998-07-281-2/+2 * Please welcome Jacques Vidrine and Matt Dillon to commiters!jkh1998-07-041-2/+2 * Please welcome Guy Helmer to committers!jkh1998-06-111-2/+2 * Please welcome Mr A Joseph Koshy <koshy@india.hp.com> as new committer.phk1998-05-131-2/+2 * Add Donald Burr to committers - welcome, Donald!jkh1998-05-111-2/+2 * It is my second pleasure in two days, this time welcoming Mr. Matthew Huntasami1998-04-171-2/+2 * (Jordan, not so fast. :)asami1998-04-171-2/+2 * Add Peter Hawkins <peter@hilink.com.au> to committers. Welcome aboard,jkh1998-04-171-2/+2 * Add Dmitrij Tejblum <dt@freebsd.org>. Welcome aboard, Dima!jdp1998-04-151-2/+2 * Add Robert Nordier to committers - welcome, Robert!jkh1998-04-141-2/+2 * Add Dag-Erling C. Sm?rgrav to committers (sorry for the ? - it wasjkh1998-04-081-2/+2 * Add Pierre Beyssac to committers. Welcome!jkh1998-04-031-2/+2 * Add Ustimenko Semen to committers expressly so that he can maintainjkh1998-03-031-2/+2 * Please welcome Nik Clayton to the FreeBSD Docs project!jkh1998-02-271-2/+2 * Add Tatsumi Hosokawa to committers. I'll be his initial contact injkh1998-02-121-2/+2 * Killed davidg.dg1998-01-281-2/+2 * Add 'dg' (I'm renaming my account).davidg1998-01-281-2/+2 * Removed Drew Derbyshire upon his request. Too bad, Drew, but thanksjoerg1998-01-051-2/+2 * Add Jamil Weatherby as limited committer so he can maintain his own driver.jkh1997-12-061-2/+2 * Add Vanilla Ice to ports committers.jkh1997-11-251-2/+2 * Whups! Get Amancio Hasty's username correct.jkh1997-11-121-2/+2 * Add Amancio Hasty to committers.jkh1997-11-101-2/+2 * It is my great pleasure, as usual, to announce that Justin Segerasami1997-10-281-2/+2 * Welcome Tim Vanderhoek <hoek@hwcn.org> as a new committer!joerg1997-09-261-2/+2 * Add Brandon Gillespie to committers list. I will be his "sponsor"jkh1997-09-061-2/+2 * Open up for commits again.peter1997-08-221-2/+2 * PANIC STATIONS!! Please, hold the commits for a moment while I fix things!peter1997-08-221-2/+2 * Welcome Wolfgang Helbig to the committers' crew.joerg1997-08-201-2/+2 * Please welcome Jonathan Lemon <jlemon@freebsd.org> to committers!jkh1997-08-151-2/+2 * Add new committer Matt Jacob <mjacob>. Matt will be helping outgibbs1997-08-141-2/+2 * Add new committer Ralf S. Engelschall <rse>. Welcome aboard, Ralf !andreas1997-07-311-2/+2 * Change Chris Timmons's login to "cwt" per request.jdp1997-07-151-2/+2 * Add new committer Chris Timmons <skynyrd>. Welcome aboard, Chris!jdp1997-07-151-2/+2 * Add itojun (Jun-ichiro Itoh) to our list of committers. Welcome aboard,asami1997-07-091-2/+2 * Welcome Drew Derbshire to the FreeBSD committers crowed. He's the authorjoerg1997-06-201-2/+2 * Be more consistant with $Id$peter1997-06-081-2/+3