aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-07 01:22:51 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-07 01:22:51 +0800
commit141f7d18bc9724ec423d84b3754c00299c322d0f (patch)
treed2a74f26e151d8e45cb18b1f719d5b8cb67e3e2a /calendar
parent77960b3563b9e9f6db63d7296b0c5f6766eb2466 (diff)
downloadgsoc2013-evolution-141f7d18bc9724ec423d84b3754c00299c322d0f.tar.gz
gsoc2013-evolution-141f7d18bc9724ec423d84b3754c00299c322d0f.tar.zst
gsoc2013-evolution-141f7d18bc9724ec423d84b3754c00299c322d0f.zip
disconnect the activated signal
2004-01-06 JP Rosevear <jpr@ximian.com> * gui/e-select-names-renderer.c (esnr_editing_done): disconnect the activated signal svn path=/trunk/; revision=24069
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-select-names-renderer.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 3fa534a4cd..9bae6150fe 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2004-01-06 JP Rosevear <jpr@ximian.com>
+ * gui/e-select-names-renderer.c (esnr_editing_done): disconnect
+ the activated signal
+
+2004-01-06 JP Rosevear <jpr@ximian.com>
+
* gui/dialogs/comp-editor.c (comp_editor_finalize): we don't put
any signal handlers on the client or source client now, but we do
on the view
diff --git a/calendar/gui/e-select-names-renderer.c b/calendar/gui/e-select-names-renderer.c
index 9ab1a2eb83..59f8169843 100644
--- a/calendar/gui/e-select-names-renderer.c
+++ b/calendar/gui/e-select-names-renderer.c
@@ -53,7 +53,12 @@ static void
esnr_editing_done (GtkCellEditable *editable, ESelectNamesRenderer *cell)
{
gchar *new_address, *new_name;
+ BonoboControlFrame *cf;
+ /* We don't need to listen for the de-activation any more */
+ cf = bonobo_widget_get_control_frame (BONOBO_WIDGET (editable));
+ g_signal_handlers_disconnect_matched (G_OBJECT (cf), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, cell);
+
new_address = e_select_names_editable_get_address (E_SELECT_NAMES_EDITABLE (editable));
new_name = e_select_names_editable_get_name (E_SELECT_NAMES_EDITABLE (editable));