From 60386356e322c0ebe3a0101a616752c0e557491e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 20 Apr 2013 11:22:58 -0400 Subject: Remove "Search for sender photograph only in local address books". This was added as part of bug 360184 but no justification was given for the "local-only" part. My Spidey sense tells me it was a hack- around for the old implementation's tendency to freeze the UI while searching for a photograph. So the "local-only" option really just meant "don't freeze the UI for very long, please". The new EPhotoCache-based implementation in 3.8 NEVER freezes the UI, so the "local-only" option is no longer needed. If a remote address book is slow or unresponsive we simply cancel the async photo lookup when the user moves on to another email. --- modules/mail/em-mailer-prefs.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'modules/mail') diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index 52d6f7f56e..fc3e3c4e66 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -1069,16 +1069,6 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs, widget, "active", G_SETTINGS_BIND_DEFAULT); - widget = e_builder_get_widget (prefs->builder, "photo_local"); - g_settings_bind ( - settings, "photo-local", - widget, "active", - G_SETTINGS_BIND_DEFAULT); - g_settings_bind ( - settings, "show-sender-photo", - widget, "sensitive", - G_SETTINGS_BIND_GET); - /* always de-sensitised until the user types something in the entry */ prefs->add_header = GTK_BUTTON (e_builder_get_widget (prefs->builder, "cmdHeadersAdd")); gtk_widget_set_sensitive ((GtkWidget *) prefs->add_header, FALSE); -- cgit v1.2.3