diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-11-10 18:29:30 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-11-10 18:29:30 +0800 |
commit | 0d04eeb781f3c28e1a2405410d9b054c4e3c66e5 (patch) | |
tree | 6c47f3b5f8435d6426276fc8d53cf8bfd30d252f | |
parent | f7d962f3cad8ca0f6fe5b1af1ba0a477f75f77e9 (diff) | |
download | gsoc2013-evolution-0d04eeb781f3c28e1a2405410d9b054c4e3c66e5.tar.gz gsoc2013-evolution-0d04eeb781f3c28e1a2405410d9b054c4e3c66e5.tar.zst gsoc2013-evolution-0d04eeb781f3c28e1a2405410d9b054c4e3c66e5.zip |
Fix for bug #443190 (bugzilla.novell.com) - Block signals from attachment-bar while still filling the widgets.
svn path=/trunk/; revision=36769
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index b1df97e4d2..3f80e4274e 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,6 +1,13 @@ +2008-11-10 Suman Manjunath <msuman@novell.com> + + ** Fix for bug #443190 (bugzilla.novell.com) + + * gui/dialogs/comp-editor.c (fill_widgets), (real_edit_comp): + Block signals from attachment-bar while still filling the widgets. + 2008-11-07 Bharath Acharya <abharath@novell.com> - ** Fix for bug #440007 (bnc) + ** Fix for bug #440007 (bugzilla.novell.com) * gui/print.c: (print_comp_draw_real): Print the attendees only if its the first page. diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 16bdb979e1..198d60356c 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -2903,7 +2903,9 @@ fill_widgets (CompEditor *editor) if (e_cal_component_has_attachments (priv->comp)) { GSList *attachment_list = NULL; e_cal_component_get_attachment_list (priv->comp, &attachment_list); + g_signal_handlers_block_by_func(priv->attachment_bar, G_CALLBACK (attachment_bar_changed_cb), editor); set_attachment_list (editor, attachment_list); + g_signal_handlers_unblock_by_func(priv->attachment_bar, G_CALLBACK (attachment_bar_changed_cb), editor); g_slist_foreach (attachment_list, (GFunc)g_free, NULL); g_slist_free (attachment_list); } @@ -2916,7 +2918,6 @@ static void real_edit_comp (CompEditor *editor, ECalComponent *comp) { CompEditorPrivate *priv; - const char *uid; g_return_if_fail (IS_COMP_EDITOR (editor)); @@ -2935,7 +2936,6 @@ real_edit_comp (CompEditor *editor, ECalComponent *comp) priv->warned = FALSE; update_window_border (editor, NULL); - e_cal_component_get_uid (comp, &uid); fill_widgets (editor); |