aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-notification
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-06-15 15:04:08 +0800
committerMilan Crha <mcrha@redhat.com>2012-06-15 15:04:08 +0800
commit94daae3dba8e86e88f69320bc82795fe660ec9cd (patch)
tree9965d4f6dfc6d48adecd0b9084442185d73d58c7 /plugins/mail-notification
parent08dedf0a8a520b55c51a8117dc015915ec39f7fe (diff)
downloadgsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.tar
gsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.tar.gz
gsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.tar.bz2
gsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.tar.lz
gsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.tar.xz
gsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.tar.zst
gsoc2013-evolution-94daae3dba8e86e88f69320bc82795fe660ec9cd.zip
Remove the last remaining usage of GConf
Diffstat (limited to 'plugins/mail-notification')
-rw-r--r--plugins/mail-notification/Makefile.am35
-rw-r--r--plugins/mail-notification/apps-evolution-mail-notification.schemas.in73
2 files changed, 1 insertions, 107 deletions
diff --git a/plugins/mail-notification/Makefile.am b/plugins/mail-notification/Makefile.am
index 65b3acbdc3..042dcd0c9e 100644
--- a/plugins/mail-notification/Makefile.am
+++ b/plugins/mail-notification/Makefile.am
@@ -37,44 +37,11 @@ liborg_gnome_mail_notification_la_LIBADD = \
$(CANBERRA_LIBS) \
$(GTKHTML_LIBS)
-schemadir = $(GCONF_SCHEMA_FILE_DIR)
-schema_in_files = apps-evolution-mail-notification.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
-@INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-
-if OS_WIN32
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- for p in $(schema_DATA) ; do \
- (echo set GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE); \
- echo $(GCONFTOOL) --makefile-install-rule $$p) >_temp.bat; \
- cmd /c _temp.bat; \
- rm _temp.bat; \
- done \
- fi
-else
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- for p in $(schema_DATA) ; do \
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
- $(GCONFTOOL) --makefile-install-rule $$p; \
- done \
- fi
-endif
-
-endif
-
BUILT_SOURCES = $(plugin_DATA)
CLEANFILES = $(BUILT_SOURCES)
-DISTCLEANFILES = $(schema_DATA)
-
EXTRA_DIST = \
- org-gnome-mail-notification.eplug.xml \
- $(schema_in_files)
+ org-gnome-mail-notification.eplug.xml
-include $(top_srcdir)/git.mk
diff --git a/plugins/mail-notification/apps-evolution-mail-notification.schemas.in b/plugins/mail-notification/apps-evolution-mail-notification.schemas.in
deleted file mode 100644
index 03d742b718..0000000000
--- a/plugins/mail-notification/apps-evolution-mail-notification.schemas.in
+++ /dev/null
@@ -1,73 +0,0 @@
-<gconfschemafile>
- <schemalist>
- <schema>
- <key>/schemas/apps/evolution/eplugin/mail-notification/notify-only-inbox</key>
- <applyto>/apps/evolution/eplugin/mail-notification/notify-only-inbox</applyto>
- <owner>evolution-mail</owner>
- <type>bool</type>
- <default>true</default>
- <locale name="C">
- <short>Notify new messages for Inbox only.</short>
- <long>Whether to notify new messages in Inbox folder only.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/evolution/eplugin/mail-notification/status-enabled</key>
- <applyto>/apps/evolution/eplugin/mail-notification/status-enabled</applyto>
- <owner>evolution-mail</owner>
- <type>bool</type>
- <default>true</default>
- <locale name="C">
- <short>Enable icon in notification area.</short>
- <long>Show new mail icon in notification area when new messages arrive.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/evolution/eplugin/mail-notification/sound-enabled</key>
- <applyto>/apps/evolution/eplugin/mail-notification/sound-enabled</applyto>
- <owner>evolution-mail</owner>
- <type>bool</type>
- <default>true</default>
- <locale name="C">
- <short>Play sound when new messages arrive.</short>
- <long>Whether play sound or beep when new messages arrive.</long>
- </locale>
- </schema>
- <schema>
- <key>/schemas/apps/evolution/eplugin/mail-notification/sound-beep</key>
- <applyto>/apps/evolution/eplugin/mail-notification/sound-beep</applyto>
- <owner>evolution-mail</owner>
- <type>bool</type>
- <default>true</default>
- <locale name="C">
- <short>Beep or play sound file.</short>
- <long>If "true", then beep, otherwise will play sound file when new messages arrive.</long>
- </locale>
- </schema>
- <schema>
- <key>/schemas/apps/evolution/eplugin/mail-notification/sound-file</key>
- <applyto>/apps/evolution/eplugin/mail-notification/sound-file</applyto>
- <owner>evolution-mail</owner>
- <type>string</type>
- <default></default>
- <locale name="C">
- <short>Sound filename to be played.</short>
- <long>Sound file to be played when new messages arrive, if not in beep mode.</long>
- </locale>
- </schema>
- <schema>
- <key>/schemas/apps/evolution/eplugin/mail-notification/sound-use-theme</key>
- <applyto>/apps/evolution/eplugin/mail-notification/sound-use-theme</applyto>
- <owner>evolution-mail</owner>
- <type>bool</type>
- <default>false</default>
- <locale name="C">
- <short>Use sound theme</short>
- <long>Play themed sound when new messages arrive, if not in beep mode.</long>
- </locale>
- </schema>
- </schemalist>
-</gconfschemafile>
-