diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-account-prefs.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 93c7242135..f82d8fb103 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2006-02-08 Claudio Saavedra <csaavedra@alumnos.utalca.cl> + + * em-account-prefs.c: (em_account_prefs_construct): Reordering + construction of dialog to prevent critical warnings (#328325). + 2006-02-07 Andre Klapper <a9016009@gmx.de> * mail.error.xml: fixing one typo. diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c index 8cd3b9105e..d79a5f846b 100644 --- a/mail/em-account-prefs.c +++ b/mail/em-account-prefs.c @@ -567,9 +567,6 @@ em_account_prefs_construct (EMAccountPrefs *prefs) widget = glade_xml_get_widget (gui, "etableMailAccounts"); prefs->table = (GtkTreeView *) g_object_get_data ((GObject *) widget, "table"); - g_signal_connect (gtk_tree_view_get_selection (prefs->table), - "changed", G_CALLBACK (account_cursor_change), prefs); - g_signal_connect (prefs->table, "row-activated", G_CALLBACK (account_double_click), prefs); renderer = g_object_get_data ((GObject *) widget, "renderer"); g_signal_connect (renderer, "toggled", G_CALLBACK (account_able_toggled), prefs); @@ -591,7 +588,11 @@ em_account_prefs_construct (EMAccountPrefs *prefs) prefs->mail_able = GTK_BUTTON (glade_xml_get_widget (gui, "cmdAccountAble")); g_signal_connect (prefs->mail_able, "clicked", G_CALLBACK (account_able_clicked), prefs); - account_cursor_change(gtk_tree_view_get_selection(prefs->table), prefs); + g_signal_connect (gtk_tree_view_get_selection (prefs->table), + "changed", G_CALLBACK (account_cursor_change), prefs); + g_signal_connect (prefs->table, "row-activated", G_CALLBACK (account_double_click), prefs); + + account_cursor_change(gtk_tree_view_get_selection(prefs->table), prefs); } GtkWidget * |