Remove avatar URL setting and config now it is unused

This commit is contained in:
Michael Gratton 2019-03-01 13:14:16 +11:00 committed by Michael James Gratton
parent f9ef6492ec
commit 18039ed7ad
2 changed files with 0 additions and 11 deletions

View file

@ -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>

View file

@ -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.