From 18039ed7ad8bfc66da4ba8554589cbf9645296bb Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Fri, 1 Mar 2019 13:14:16 +1100 Subject: [PATCH] Remove avatar URL setting and config now it is unused --- desktop/org.gnome.Geary.gschema.xml | 6 ------ src/client/application/geary-config.vala | 5 ----- 2 files changed, 11 deletions(-) diff --git a/desktop/org.gnome.Geary.gschema.xml b/desktop/org.gnome.Geary.gschema.xml index 36ed8259..e48283e8 100644 --- a/desktop/org.gnome.Geary.gschema.xml +++ b/desktop/org.gnome.Geary.gschema.xml @@ -123,12 +123,6 @@ The last recorded size of the detached composer window. - - "https://secure.gravatar.com/avatar" - Base URL to look up contact avatars - A Gravatar or Libravatar compatible URL, set to the empty string to disable. - - false Whether we migrated the old settings diff --git a/src/client/application/geary-config.vala b/src/client/application/geary-config.vala index f186b37e..b249cf32 100644 --- a/src/client/application/geary-config.vala +++ b/src/client/application/geary-config.vala @@ -29,7 +29,6 @@ public class Configuration { public const string SEARCH_STRATEGY_KEY = "search-strategy"; public const string CONVERSATION_VIEWER_ZOOM_KEY = "conversation-viewer-zoom"; public const string COMPOSER_WINDOW_SIZE_KEY = "composer-window-size"; - public const string AVATAR_URL = "avatar-url"; public enum DesktopEnvironment { @@ -178,10 +177,6 @@ public class Configuration { } } - public string avatar_url { - owned get { return settings.get_string(AVATAR_URL); } - } - // Creates a configuration object. public Configuration(string schema_id) { // Start GSettings.