[evolution-rss] add missing gsettings files



commit d1b0aca51250d0037666a86a1c59fc390839e051
Author: Lucian Langa <lucilanga gnome org>
Date:   Sun Sep 2 16:38:53 2012 +0200

    add missing gsettings files

 scripts/migrate-gconf-gsettings.sh                 |   22 +++
 src/evolution-rss.convert                          |   29 ++++
 ...e.evolution.plugin.evolution-rss.gschema.xml.in |  149 ++++++++++++++++++++
 3 files changed, 200 insertions(+), 0 deletions(-)
---
diff --git a/scripts/migrate-gconf-gsettings.sh b/scripts/migrate-gconf-gsettings.sh
new file mode 100755
index 0000000..a0eb8e0
--- /dev/null
+++ b/scripts/migrate-gconf-gsettings.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+a=""
+IFS=
+XMLFEEDS=`gconftool-2 -g /apps/evolution/evolution-rss/feeds`
+for i in $XMLFEEDS; do
+if [ -z $a ]; then
+	a=$a$i
+else
+	a=$a"@"$i
+fi
+#a=$a"'"`echo $i|sed -e "s;\[;;g" -e "s;\];;g"`"';"
+#|grep -o -e "<url>.*</url>"|sed -e "s;<url>;;" -e "s;</url>;;"
+done
+#echo $a
+#exit
+IFS=$'\n'
+#b='['$a']'
+b=`echo $a|sed -e "s!\ !,!g"`
+echo $b
+#exit
+dconf write /org/gnome/evolution/plugin/rss/feeds \"$a\"
diff --git a/src/evolution-rss.convert b/src/evolution-rss.convert
new file mode 100644
index 0000000..15bb973
--- /dev/null
+++ b/src/evolution-rss.convert
@@ -0,0 +1,29 @@
+[org.gnome.evolution]
+version = /apps/evolution/version
+last-upgraded-version = /apps/evolution/last_version
+
+[org.gnome.evolution.plugin.evolution-rss]
+display-summary = /apps/evolution/plugin/evolution-rss/display_summary
+accept-cookies = /apps/evolution/plugin/evolution-rss/accept_cookies
+download-enclosures = /apps/evolution/plugin/evolution-rss/download_enclosures
+enclosure-limit = /apps/evolution/plugin/evolution-rss/enclosure_limit
+enclosure-size = /apps/evolution/plugin/evolution-rss/enclosure_size
+remove-folder = /apps/evolution/plugin/evolution-rss/remove_folder
+custom-font = /apps/evolution/plugin/evolution-rss/custom_font
+min-font-size = /apps/evolution/plugin/evolution-rss/min_font_size
+html-render = /apps/evolution/plugin/evolution-rss/html_render
+html-js = /apps/evolution/plugin/evolution-rss/html_js
+html-java = /apps/evolution/plugin/evolution-rss/html_java
+embed-plugin = /apps/evolution/plugin/evolution-rss/embed_plugin
+status-icon = /apps/evolution/plugin/evolution-rss/status_icon
+blink-icon = /apps/evolution/plugin/evolution-rss/blink_icon
+startup-check = /apps/evolution/plugin/evolution-rss/startup_check
+rep-check = /apps/evolution/plugin/evolution-rss/rep_check
+rep-check-timeout = /apps/evolution/plugin/evolution-rss/rep_check_timeout
+image-resize = /apps/evolution/plugin/evolution-rss/image_resize
+search-rss = /apps/evolution/plugin/evolution-rss/search_rss
+feed-icon = /apps/evolution/plugin/evolution-rss/feed_icon
+show-comments = /apps/evolution/plugin/evolution-rss/show_comments
+network-timeout = /apps/evolution/plugin/evolution-rss/network_timeout
+network-queue-size = /apps/evolution/plugin/evolution-rss/network_queue_size
+feeds = /apps/evolution/plugin/evolution-rss/feeds
diff --git a/src/org.gnome.evolution.plugin.evolution-rss.gschema.xml.in b/src/org.gnome.evolution.plugin.evolution-rss.gschema.xml.in
new file mode 100644
index 0000000..4461841
--- /dev/null
+++ b/src/org.gnome.evolution.plugin.evolution-rss.gschema.xml.in
@@ -0,0 +1,149 @@
+<schemalist>
+  <schema path="/org/gnome/evolution/plugin/rss/" id="org.gnome.evolution.plugin.evolution-rss" gettext-domain="evolution">
+    <key name="auth-proxy" type="b">
+      <default>false</default>
+      <summary>Proxy requires authentication</summary>
+      <description>Network proxy requires authentication.</description>
+    </key>
+    <key name="display-summary" type="b">
+      <default>true</default>
+      <summary>Display article's summary</summary>
+      <description>Evolution will show article's summary instead of article's webpage. Summary can also be html.</description>
+    </key>
+    <key name="feeds" type="as">
+      <default>[]</default>
+      <summary>Feeds list</summary>
+      <description>Contains list of the currently setup feeds.</description>
+    </key>
+    <key name="host-proxy" type="s">
+      <default>''</default>
+      <summary>Hostname of the proxy server</summary>
+      <description>Hostname of the proxy server used for feeds and content.</description>
+    </key>
+    <key name="html-render" type="i">
+      <default>0</default>
+      <summary>Html render</summary>
+      <description>Type HTML Render used to display html pages.</description>
+    </key>
+    <key name="custom-font" type="b">
+      <default>false</default>
+      <summary>Use custom font</summary>
+      <description>Use a custom font size instead of system defaults.</description>
+    </key>
+    <key name="min-font-size" type="d">
+      <default>12</default>
+      <summary>Minimum font size</summary>
+      <description>The size of the font used in full text preview.</description>
+    </key>
+    <key name="network-timeout" type="d">
+      <default>300</default>
+      <summary>Network timeout</summary>
+      <description>Interval in seconds before a conection is dropped.</description>
+    </key>
+    <key name="network-queue-size" type="i">
+      <default>5</default>
+      <summary>Network queue size</summary>
+      <description>How many simultaneous downloads.</description>
+    </key>
+    <key name="html-js" type="b">
+      <default>true</default>
+      <summary>JavaScript Enabled</summary>
+      <description>JavaScript Enabled</description>
+    </key>
+    <key name="html-java" type="b">
+      <default>true</default>
+      <summary>Java Enabled</summary>
+      <description>Java Enabled</description>
+    </key>
+    <key name="accept-cookies" type="b">
+      <default>true</default>
+      <summary>Accepts Cookies</summary>
+      <description>Evolution RSS will accept cookies from articles you browse.</description>
+    </key>
+    <key name="image-resize" type="b">
+      <default>true</default>
+      <summary>Automaticaly Resize Images</summary>
+      <description>Evolution RSS will automatically resize images larger than displayed area.</description>
+    </key>
+    <key name="search-rss" type="b">
+      <default>false</default>
+      <summary>Scan web pages for RSS</summary>
+      <description>Evolution RSS will scan web pages for rss content</description>
+    </key>
+    <key name="download-enclosures" type="b">
+      <default>true</default>
+      <summary>Download enclosures</summary>
+      <description>Evolution will download all feed enclosures a feed article may contain.</description>
+    </key>
+    <key name="enclosure-limit" type="b">
+      <default>false</default>
+      <summary>Limit enclosure size</summary>
+      <description>Limit maximum enclosure size evolution will download.</description>
+    </key>
+    <key name="enclosure-size" type="d">
+      <default>1024</default>
+      <summary>Max enclosure size</summary>
+      <description>Limit maximum enclosure size evolution will download.</description>
+    </key>
+    <key name="status-icon" type="b">
+      <default>false</default>
+      <summary>Enable Status Icon</summary>
+      <description>Enable status icon in notification area</description>
+    </key>
+    <key name="blink-icon" type="b">
+      <default>false</default>
+      <summary>Blink Status Icon</summary>
+      <description>Blink status icon when new article received</description>
+    </key>
+    <key name="feed-icon" type="b">
+      <default>true</default>
+      <summary>Enable Feed Icon</summary>
+      <description>Display feed icon on feed folder</description>
+    </key>
+    <key name="pass-proxy" type="s">
+      <default>''</default>
+      <summary>Password for proxy server</summary>
+      <description>If the proxy server requires authentication. This is the password field.</description>
+    </key>
+    <key name="port-proxy" type="i">
+      <default>3128</default>
+      <summary>Proxy server port</summary>
+      <description>The port number for proxy server used for feeds and content.</description>
+    </key>
+    <key name="remove-folder" type="b">
+      <default>true</default>
+      <summary>Remove feed folder</summary>
+      <description>Deleting feed entry will also remove feed folder.</description>
+    </key>
+    <key name="rep-check" type="b">
+      <default>false</default>
+      <summary>Check New articles</summary>
+      <description>Auto check for new articles.</description>
+    </key>
+    <key name="rep-check-timeout" type="d">
+      <default>60</default>
+      <summary>New articles timeout</summary>
+      <description>Frequency to check for new articles (in minutes).</description>
+    </key>
+    <key name="startup-check" type="b">
+      <default>false</default>
+      <summary>Checks articles on startup</summary>
+      <description>Check for new articles everytime Evolution is started.</description>
+    </key>
+    <key name="show-comments" type="b">
+      <default>true</default>
+      <summary>Show articles comments</summary>
+      <description>If a feed article has comments, it will be displayed.</description>
+    </key>
+    <key name="use-proxy" type="b">
+      <default>false</default>
+      <summary>Use proxy server</summary>
+      <description>Use a proxy server to fetch articles and content.</description>
+    </key>
+    <key name="user-proxy" type="s">
+      <default>''</default>
+      <summary>Proxy server user</summary>
+      <description>The username to use for proxy server authentication.</description>
+    </key>
+  </schema>
+</schemalist>



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