From 62905631d668a9ce36d1e1eb4d0970abd7938250 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Wed, 8 Feb 2006 10:06:30 +0000 Subject: Reordering construction of dialog to prevent critical warnings (#328325). 2006-02-08 Claudio Saavedra * em-account-prefs.c: (em_account_prefs_construct): Reordering construction of dialog to prevent critical warnings (#328325). svn path=/trunk/; revision=31442 --- mail/ChangeLog | 5 +++++ mail/em-account-prefs.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'mail') 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 + + * em-account-prefs.c: (em_account_prefs_construct): Reordering + construction of dialog to prevent critical warnings (#328325). + 2006-02-07 Andre Klapper * 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 * -- cgit v1.2.3