GNOME Bugzilla – Bug 675667
Crash when trying to add an account
Last modified: 2012-05-09 07:38:33 UTC
I suspect I introduced a regression when fixing bug #640417. (empathy-accounts:19685): tp-glib-CRITICAL **: tp_account_manager_get_most_available_presence: assertion `TP_IS_ACCOUNT_MANAGER (manager)' failed
+ Trace 230187
Created attachment 213660 [details] [review] account-widget: delay 'close' signal if enabling the account The whole point of this signal is to tell to user when it can be destroyed, so we shouldn't fire it if we are still pending on an async call.
Created attachment 213661 [details] [review] new-account-dialog: rely on the EmpathyAccountWidget::close signal User of the dialog should wait for the widget to be completely done before destroying it. Change the 'success' dialog response to GTK_RESPONSE_APPLY to stay coherent with the response type received from EmpathyAccountWidget.
Review of attachment 213660 [details] [review]: ::: libempathy-gtk/empathy-account-widget.c @@ +920,3 @@ EmpathyAccountWidget *self = EMPATHY_ACCOUNT_WIDGET (user_data); gboolean reconnect_required; + gboolean fire_close = FALSE; it will never be TRUE
Review of attachment 213661 [details] [review]: looks good
Created attachment 213722 [details] [review] Good catch, I meant to init it to TRUE of course. account-widget: delay 'close' signal if enabling the account The whole point of this signal is to tell to user when it can be destroyed, so we shouldn't fire it if we are still pending on an async call.
Attachment 213661 [details] pushed as 085365f - new-account-dialog: rely on the EmpathyAccountWidget::close signal
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.