[geary/wip/3.32-avatars: 8/8] Remove avatar URL setting and config now it is unused
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/3.32-avatars: 8/8] Remove avatar URL setting and config now it is unused
- Date: Fri, 1 Mar 2019 07:17:06 +0000 (UTC)
commit 52ccc03e1c1e41f5b6f93723b1cf0d23d679f557
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 cea2961a..e527c18b 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]