aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-20 23:22:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-21 01:15:27 +0800
commit60386356e322c0ebe3a0101a616752c0e557491e (patch)
treea115b4f28bddd84ec037584c8f2902e1884c4994 /modules/mail
parent5e1934425ddedb3848a66f16100e4ee1ea12aeb1 (diff)
downloadgsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.tar
gsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.tar.gz
gsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.tar.bz2
gsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.tar.lz
gsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.tar.xz
gsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.tar.zst
gsoc2013-evolution-60386356e322c0ebe3a0101a616752c0e557491e.zip
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.
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/em-mailer-prefs.c10
1 files changed, 0 insertions, 10 deletions
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);