aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@alumnos.utalca.cl>2006-02-08 18:06:30 +0800
committerClaudio Saavedra <csaavedr@src.gnome.org>2006-02-08 18:06:30 +0800
commit62905631d668a9ce36d1e1eb4d0970abd7938250 (patch)
treeab9d06f7fd4977a42068a3917ea24732da90ead3
parent640ba8bb01547602e1d9cac4730b9f40e8af280d (diff)
downloadgsoc2013-evolution-62905631d668a9ce36d1e1eb4d0970abd7938250.tar.gz
gsoc2013-evolution-62905631d668a9ce36d1e1eb4d0970abd7938250.tar.zst
gsoc2013-evolution-62905631d668a9ce36d1e1eb4d0970abd7938250.zip
Reordering construction of dialog to prevent critical warnings (#328325).
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). svn path=/trunk/; revision=31442
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-account-prefs.c9
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 *