[geary/wip/3.32-avatars: 44/50] Remove avatar URL setting and config now it is unused



commit 18039ed7ad8bfc66da4ba8554589cbf9645296bb
Author: Michael Gratton <mike vee net>
Date:   Fri Mar 1 13:14:16 2019 +1100

    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 @@
         <description>The last recorded size of the detached composer window.</description>
     </key>
 
-    <key name="avatar-url" type="s">
-        <default>"https://secure.gravatar.com/avatar";</default>
-        <summary>Base URL to look up contact avatars</summary>
-        <description>A Gravatar or Libravatar compatible URL, set to the empty string to 
disable.</description>
-    </key>
-
     <key name="migrated-config" type="b">
         <default>false</default>
         <summary>Whether we migrated the old settings</summary>
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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]