evolution r35568 - trunk/mail
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r35568 - trunk/mail
- Date: Mon, 2 Jun 2008 04:53:46 +0000 (UTC)
Author: lucilanga
Date: Mon Jun 2 04:53:46 2008
New Revision: 35568
URL: http://svn.gnome.org/viewvc/evolution?rev=35568&view=rev
Log:
2008-06-02 Lucian Langa <lucilanga gnome org>
** Fix for bug #535689
* mail-send-recv.c: (build_dialog): Transmit
gd data to hook's event target data
Modified:
trunk/mail/ChangeLog
trunk/mail/mail-send-recv.c
Modified: trunk/mail/mail-send-recv.c
==============================================================================
--- trunk/mail/mail-send-recv.c (original)
+++ trunk/mail/mail-send-recv.c Mon Jun 2 04:53:46 2008
@@ -552,6 +552,8 @@
g_object_unref (iter);
+ /* we also need gd during emition to be able to catch Cancel All */
+ data->gd = gd;
/* Hook: If some one wants to hook on to the sendreceive dialog, this is the way to go. */
target = em_event_target_new_send_receive (em_event_peek(), table, data, row, EM_EVENT_SEND_RECEIVE);
e_event_emit ((EEvent *)em_event_peek (), "mail.sendreceive", (EEventTarget *) target);
@@ -628,7 +630,6 @@
g_object_weak_ref ((GObject *) gd, (GWeakNotify) dialog_destroy_cb, data);
data->infos = list;
- data->gd = gd;
return data;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]