aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-03 18:23:39 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-03 18:23:39 +0800
commit6e57758712d38aa1aa0b5a5063758d3085d6b97b (patch)
tree4aa2d3118beaa1e376a1f19435773a5b96e6da28 /mail
parentdfefc18437c08562be2fab2db063624f32880343 (diff)
downloadgsoc2013-evolution-6e57758712d38aa1aa0b5a5063758d3085d6b97b.tar.gz
gsoc2013-evolution-6e57758712d38aa1aa0b5a5063758d3085d6b97b.tar.zst
gsoc2013-evolution-6e57758712d38aa1aa0b5a5063758d3085d6b97b.zip
** Fix for bug #463061
svn path=/trunk/; revision=33939
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-mailer-prefs.c9
2 files changed, 13 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c17147e95a..2402209ee2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,4 +1,12 @@
+2007-08-03 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #463061
+
+ * em-mailer-prefs.c: (em_mailer_prefs_construct): Set the signal
+ handlers later than assigning values to radio groups.
+
2007-08-02 Tobias Mueller <muelli@auftrags-killer.org>
+
* message-list.c: (regen_list_regened) Removed dead if
statement, fixes bug #387312
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c
index 18870efacb..2354782d54 100644
--- a/mail/em-mailer-prefs.c
+++ b/mail/em-mailer-prefs.c
@@ -1031,22 +1031,23 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs)
val = gconf_client_get_int (prefs->gconf, "/apps/evolution/mail/display/load_http_images", NULL);
prefs->images_never = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "radImagesNever"));
gtk_toggle_button_set_active (prefs->images_never, val == MAIL_CONFIG_HTTP_NEVER);
- g_signal_connect (prefs->images_never, "toggled", G_CALLBACK (http_images_changed), prefs);
if (locked)
gtk_widget_set_sensitive ((GtkWidget *) prefs->images_never, FALSE);
prefs->images_sometimes = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "radImagesSometimes"));
gtk_toggle_button_set_active (prefs->images_sometimes, val == MAIL_CONFIG_HTTP_SOMETIMES);
- g_signal_connect (prefs->images_sometimes, "toggled", G_CALLBACK (http_images_changed), prefs);
if (locked)
gtk_widget_set_sensitive ((GtkWidget *) prefs->images_sometimes, FALSE);
prefs->images_always = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "radImagesAlways"));
gtk_toggle_button_set_active (prefs->images_always, val == MAIL_CONFIG_HTTP_ALWAYS);
- g_signal_connect (prefs->images_always, "toggled", G_CALLBACK (http_images_changed), prefs);
if (locked)
gtk_widget_set_sensitive ((GtkWidget *) prefs->images_always, FALSE);
-
+
+ g_signal_connect (prefs->images_never, "toggled", G_CALLBACK (http_images_changed), prefs);
+ g_signal_connect (prefs->images_sometimes, "toggled", G_CALLBACK (http_images_changed), prefs);
+ g_signal_connect (prefs->images_always, "toggled", G_CALLBACK (http_images_changed), prefs);
+
prefs->show_animated = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkShowAnimatedImages"));
toggle_button_init (prefs, prefs->show_animated, FALSE,
"/apps/evolution/mail/display/animate_images",