summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-04 22:16:15 -0300
committerPerberos <[email protected]>2011-11-04 22:16:15 -0300
commitfff4ecc82f2bcfa7427596e7ad9c3769fcab040b (patch)
treeac4f1812a7991609c9c32c776daede2d8492f7b5 /data
downloadmate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.bz2
mate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.xz
first commit
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am116
-rw-r--r--data/images/Makefile.am14
-rw-r--r--data/images/cosmos/CREDITS29
-rw-r--r--data/images/cosmos/Makefile.am54
-rw-r--r--data/images/cosmos/background-1.xml.in92
-rw-r--r--data/images/cosmos/blue-marble-west.jpgbin0 -> 456110 bytes
-rw-r--r--data/images/cosmos/cloud.jpgbin0 -> 1379759 bytes
-rw-r--r--data/images/cosmos/comet.jpgbin0 -> 141297 bytes
-rw-r--r--data/images/cosmos/cosmos.xml.in.in11
-rw-r--r--data/images/cosmos/earth-horizon.jpgbin0 -> 210180 bytes
-rw-r--r--data/images/cosmos/galaxy-ngc3370.jpgbin0 -> 460107 bytes
-rw-r--r--data/images/cosmos/helix-nebula.jpgbin0 -> 138039 bytes
-rw-r--r--data/images/cosmos/jupiter.jpgbin0 -> 44528 bytes
-rw-r--r--data/images/cosmos/sombrero.jpgbin0 -> 552723 bytes
-rw-r--r--data/images/cosmos/whirlpool.jpgbin0 -> 659143 bytes
-rw-r--r--data/images/mate-logo-white.svg14
-rw-r--r--data/lock-dialog-default.ui505
-rw-r--r--data/mate-screensaver15
-rw-r--r--data/mate-screensaver-command.170
-rw-r--r--data/mate-screensaver-preferences.137
-rw-r--r--data/mate-screensaver-preferences.desktop.in13
-rw-r--r--data/mate-screensaver-preferences.ui620
-rw-r--r--data/mate-screensaver.141
-rw-r--r--data/mate-screensaver.directory.in8
-rw-r--r--data/mate-screensaver.pc.in17
-rw-r--r--data/mate-screensaver.schemas.in257
-rw-r--r--data/mate-screensavers.menu.in20
-rwxr-xr-xdata/migrate-xscreensaver-config.sh34
-rw-r--r--data/org.mate.ScreenSaver.service.in3
-rw-r--r--data/xscreensaver-config.xsl27
30 files changed, 1997 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..1bae8e9
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,116 @@
+SUBDIRS = \
+ images
+
+NULL =
+
+man_MANS = \
+ mate-screensaver.1 \
+ mate-screensaver-command.1 \
+ mate-screensaver-preferences.1 \
+ $(NULL)
+
+@INTLTOOL_SCHEMAS_RULE@
+
+schemasdir = @MATECONF_SCHEMA_FILE_DIR@
+schemas_in_files = mate-screensaver.schemas.in
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+
+@INTLTOOL_DESKTOP_RULE@
+
+desktopdir = $(datadir)/applications
+desktop_in_files = mate-screensaver-preferences.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+@INTLTOOL_DIRECTORY_RULE@
+
+directorydir = $(datadir)/desktop-directories
+directory_in_files = \
+ mate-screensaver.directory.in \
+ $(NULL)
+directory_DATA = $(directory_in_files:.directory.in=.directory)
+
+menudir = $(sysconfdir)/xdg/menus
+menu_DATA = \
+ mate-screensavers.menu \
+ $(NULL)
+
+gtkbuilderdir = $(pkgdatadir)
+gtkbuilder_DATA = \
+ mate-screensaver-preferences.ui \
+ lock-dialog-default.ui \
+ $(NULL)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = mate-screensaver.pc
+
+dbussessionservicedir = $(DBUS_SESSION_SERVICE_DIR)
+dbussessionservice_DATA = org.mate.ScreenSaver.service
+
+EXTRA_DIST = \
+ $(schemas_in_files) \
+ $(desktop_in_files) \
+ $(directory_in_files) \
+ $(gtkbuilder_DATA) \
+ $(man_MANS) \
+ mate-screensaver \
+ mate-screensaver.pc.in \
+ org.mate.ScreenSaver.service.in\
+ xscreensaver-config.xsl \
+ migrate-xscreensaver-config.sh \
+ $(NULL)
+
+DISTCLEANFILES = \
+ $(schemas_DATA) \
+ $(desktop_DATA) \
+ $(directory_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+
+if MATECONF_SCHEMAS_INSTALL
+# don't do this if we are building in eg. rpm
+install-data-local: $(schemas_DATA)
+ if test -z "$(DESTDIR)" ; then \
+ for p in $(schemas_DATA) ; do \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
+ done \
+ fi
+else
+install-data-local:
+endif
+
+install-data-hook:
+ @system=`uname`; \
+ if test -f /usr/include/security/pam_appl.h; then \
+ if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
+ $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+ chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+ fi; \
+ if test $$system = Linux; then \
+ if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/mate-screensaver; then \
+ $(INSTALL_DATA) mate-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/mate-screensaver; \
+ fi; \
+ if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
+ echo "***" ; \
+ echo "*** Warning: mate-screensaver has been compiled with support for" ; \
+ echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
+ echo "*** manually install $(PAM_PREFIX)/pam.d/mate-screensaver" ; \
+ echo "*** to /etc/pam.d/mate-screensaver. Otherwise, unlocking might" ; \
+ echo "*** not work." ; \
+ echo "***" ; \
+ echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
+ echo "***" ; \
+ fi; \
+ fi; \
+ if test $$system = SunOS; then \
+ echo "***" ; \
+ echo "*** Warning: mate-screensaver has been compiled with support for" ; \
+ echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
+ echo "*** need to manually add authentication for mate-screensaver in" ; \
+ echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
+ echo "*** Otherwise, unlocking might not work." ; \
+ echo "***" ; \
+ fi; \
+ fi
diff --git a/data/images/Makefile.am b/data/images/Makefile.am
new file mode 100644
index 0000000..e23dc87
--- /dev/null
+++ b/data/images/Makefile.am
@@ -0,0 +1,14 @@
+NULL =
+
+SUBDIRS = \
+ cosmos \
+ $(NULL)
+
+imagedir = $(datadir)/pixmaps
+image_DATA = \
+ mate-logo-white.svg \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(image_DATA) \
+ $(NULL)
diff --git a/data/images/cosmos/CREDITS b/data/images/cosmos/CREDITS
new file mode 100644
index 0000000..6ecc9ab
--- /dev/null
+++ b/data/images/cosmos/CREDITS
@@ -0,0 +1,29 @@
+All of these images are in the public domain courtesy of NASA.
+
+blue-marble-west.jpg:
+http://visibleearth.nasa.gov/view_rec.php?id=2429
+
+cloud.jpg:
+www.spacetelescope.org/images/html/heic0601a.html
+
+comet.jpg:
+http://hubblesite.org/newscenter/newsdesk/archive/releases/2004/52/
+
+earth-horizon.jpg:
+http://spaceflight.nasa.gov/gallery/images/station/crew-7/html/iss007e16249.html
+
+galaxy-ngc3370.jpg:
+http://hubblesite.org/newscenter/newsdesk/archive/releases/2003/24/
+
+helix-nebula.jpg:
+http://hubblesite.org/newscenter/newsdesk/archive/releases/2003/11/
+
+jupiter.jpg:
+http://hubblesite.org/newscenter/newsdesk/archive/releases/1999/29/
+
+sombrereo.jpg:
+http://hubblesite.org/newscenter/newsdesk/archive/releases/2003/28/
+
+whirlpool.jpg:
+http://hubblesite.org/newscenter/newsdesk/archive/releases/2005/12/image/a
+
diff --git a/data/images/cosmos/Makefile.am b/data/images/cosmos/Makefile.am
new file mode 100644
index 0000000..6cc80d8
--- /dev/null
+++ b/data/images/cosmos/Makefile.am
@@ -0,0 +1,54 @@
+NULL =
+
+BACKGROUNDS = \
+ blue-marble-west.jpg \
+ cloud.jpg \
+ comet.jpg \
+ earth-horizon.jpg \
+ galaxy-ngc3370.jpg \
+ helix-nebula.jpg \
+ jupiter.jpg \
+ sombrero.jpg \
+ whirlpool.jpg \
+ $(NULL)
+
+imagesdir = $(SLIDESHOW_COSMOS_DIR)
+images_DATA = \
+ $(BACKGROUNDS) \
+ background-1.xml \
+ $(NULL)
+
+cosmos.xml.in: cosmos.xml.in.in Makefile
+ $(edit) $< >$@
+
+background-1.xml: background-1.xml.in Makefile
+ $(edit) $< >$@
+
+metadata_in_files = cosmos.xml.in
+metadatadir = $(datadir)/mate-background-properties
+metadata_DATA = $(metadata_in_files:.xml.in=.xml)
+@INTLTOOL_XML_RULE@
+
+edit = sed \
+ -e 's|@IMAGESDIR[@]|$(imagesdir)|g'
+
+EXTRA_DIST = \
+ CREDITS \
+ $(BACKGROUNDS) \
+ background-1.xml.in \
+ cosmos.xml.in.in \
+ $(NULL)
+
+CLEANFILES = \
+ cosmos.xml.in \
+ $(NULL)
+
+DISTCLEANFILES = \
+ cosmos.xml \
+ background-1.xml \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in \
+ $(NULL)
diff --git a/data/images/cosmos/background-1.xml.in b/data/images/cosmos/background-1.xml.in
new file mode 100644
index 0000000..698b4b5
--- /dev/null
+++ b/data/images/cosmos/background-1.xml.in
@@ -0,0 +1,92 @@
+<background>
+ <starttime>
+ <year>2009</year>
+ <month>08</month>
+ <day>04</day>
+ <hour>00</hour>
+ <minute>00</minute>
+ <second>00</second>
+ </starttime>
+<!-- This animation will start at midnight. -->
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/cloud.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/cloud.jpg</from>
+ <to>@IMAGESDIR@/comet.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/comet.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/comet.jpg</from>
+ <to>@IMAGESDIR@/earth-horizon.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/earth-horizon.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/earth-horizon.jpg</from>
+ <to>@IMAGESDIR@/blue-marble-west.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/blue-marble-west.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/blue-marble-west.jpg</from>
+ <to>@IMAGESDIR@/galaxy-ngc3370.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/galaxy-ngc3370.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/galaxy-ngc3370.jpg</from>
+ <to>@IMAGESDIR@/helix-nebula.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/helix-nebula.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/helix-nebula.jpg</from>
+ <to>@IMAGESDIR@/jupiter.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/jupiter.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/jupiter.jpg</from>
+ <to>@IMAGESDIR@/sombrero.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/sombrero.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/sombrero.jpg</from>
+ <to>@IMAGESDIR@/whirlpool.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>@IMAGESDIR@/whirlpool.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>@IMAGESDIR@/whirlpool.jpg</from>
+ <to>@IMAGESDIR@/cloud.jpg</to>
+ </transition>
+</background>
diff --git a/data/images/cosmos/blue-marble-west.jpg b/data/images/cosmos/blue-marble-west.jpg
new file mode 100644
index 0000000..7cd8be1
--- /dev/null
+++ b/data/images/cosmos/blue-marble-west.jpg
Binary files differ
diff --git a/data/images/cosmos/cloud.jpg b/data/images/cosmos/cloud.jpg
new file mode 100644
index 0000000..066e983
--- /dev/null
+++ b/data/images/cosmos/cloud.jpg
Binary files differ
diff --git a/data/images/cosmos/comet.jpg b/data/images/cosmos/comet.jpg
new file mode 100644
index 0000000..5de37cf
--- /dev/null
+++ b/data/images/cosmos/comet.jpg
Binary files differ
diff --git a/data/images/cosmos/cosmos.xml.in.in b/data/images/cosmos/cosmos.xml.in.in
new file mode 100644
index 0000000..b9cf666
--- /dev/null
+++ b/data/images/cosmos/cosmos.xml.in.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE wallpapers SYSTEM "mate-wp-list.dtd">
+<wallpapers>
+ <wallpaper deleted="false">
+ <!-- Translators: This is the name of a desktop background image that shows outer space images.
+ You might want to translate it into the equivalent words of your language -->
+ <_name>Cosmos</_name>
+ <filename>@IMAGESDIR@/background-1.xml</filename>
+ <options>zoom</options>
+ </wallpaper>
+</wallpapers>
diff --git a/data/images/cosmos/earth-horizon.jpg b/data/images/cosmos/earth-horizon.jpg
new file mode 100644
index 0000000..1abefd2
--- /dev/null
+++ b/data/images/cosmos/earth-horizon.jpg
Binary files differ
diff --git a/data/images/cosmos/galaxy-ngc3370.jpg b/data/images/cosmos/galaxy-ngc3370.jpg
new file mode 100644
index 0000000..46113b2
--- /dev/null
+++ b/data/images/cosmos/galaxy-ngc3370.jpg
Binary files differ
diff --git a/data/images/cosmos/helix-nebula.jpg b/data/images/cosmos/helix-nebula.jpg
new file mode 100644
index 0000000..19f02b2
--- /dev/null
+++ b/data/images/cosmos/helix-nebula.jpg
Binary files differ
diff --git a/data/images/cosmos/jupiter.jpg b/data/images/cosmos/jupiter.jpg
new file mode 100644
index 0000000..396af35
--- /dev/null
+++ b/data/images/cosmos/jupiter.jpg
Binary files differ
diff --git a/data/images/cosmos/sombrero.jpg b/data/images/cosmos/sombrero.jpg
new file mode 100644
index 0000000..6d7d2ff
--- /dev/null
+++ b/data/images/cosmos/sombrero.jpg
Binary files differ
diff --git a/data/images/cosmos/whirlpool.jpg b/data/images/cosmos/whirlpool.jpg
new file mode 100644
index 0000000..4fe2ff8
--- /dev/null
+++ b/data/images/cosmos/whirlpool.jpg
Binary files differ
diff --git a/data/images/mate-logo-white.svg b/data/images/mate-logo-white.svg
new file mode 100644
index 0000000..b8ee84d
--- /dev/null
+++ b/data/images/mate-logo-white.svg
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
+<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
+ 'http://www.w3.org/TR//REC-SVG-0904/DTD/svg10.dtd'>
+<svg xmlns='http://www.w3.org/2/svg' version='1.0'
+ x='0' y='0' width='128' height='128'
+ viewBox='0 0 96 118'>
+ <g style='fill:#ffffff;'>
+ <path d='M 86.068,0.0 C 61.466,0.0 56.851,35.041 70.691,35.041 C 84.529,35.041 110.67100,0.0 86.068,0.0 z '/>
+ <path d='M 45.217,30.699 C 52.586,31.149 60.671,2.5770 46.821,4.3740 C 32.976,6.1710 37.845,30.249 45.217,30.699 z '/>
+ <path d='M 11.445,48.453 C 16.686,46.146 12.120,23.581 3.2080,29.735 C -5.7,35.890 6.2040,50.759 11.445,48.453 z '/>
+ <path d='M 26.212,36.642 C 32.451,35.370 32.793,9.7780 21.667,14.369 C 10.539,18.961 19.978,37.916 26.212,36.642 L 26.212,36.642 z '/>
+ <path d='M 58.791,93.913 C 59.898,102.367 52.589,106.542 45.431,101.092 C 22.644,83.743 83.160,75.088 79.171,51.386 C 75.860,31.712 15.495,37.769 8.6210,68.553 C 3.9680,89.374 27.774,118.26 52.614,118.26 C 64.834,118.26 78.929,107.226 81.566,93.248 C 83.580,82.589 57.867,86.860 58.791,93.913 L 58.791,93.913 z '/>
+ </g>
+</svg>
diff --git a/data/lock-dialog-default.ui b/data/lock-dialog-default.ui
new file mode 100644
index 0000000..5dfa8a2
--- /dev/null
+++ b/data/lock-dialog-default.ui
@@ -0,0 +1,505 @@
+<?xml version="1.0"?>
+<!--*- mode: xml -*-->
+<interface>
+ <object class="GtkFrame" id="lock-dialog">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.5</property>
+ <property name="shadow_type">GTK_SHADOW_OUT</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="border_width">12</property>
+ <property name="visible">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">1</property>
+ <property name="yscale">1</property>
+ <property name="top_padding">0</property>
+ <property name="bottom_padding">0</property>
+ <property name="left_padding">0</property>
+ <property name="right_padding">0</property>
+ <child>
+ <object class="GtkVBox" id="lock-box">
+ <property name="border_width">18</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkNotebook" id="notebook">
+ <property name="visible">True</property>
+ <property name="show_tabs">False</property>
+ <property name="show_border">False</property>
+ <property name="tab_pos">GTK_POS_TOP</property>
+ <property name="scrollable">False</property>
+ <property name="enable_popup">False</property>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">1</property>
+ <property name="yscale">1</property>
+ <property name="top_padding">0</property>
+ <property name="bottom_padding">0</property>
+ <property name="left_padding">0</property>
+ <property name="right_padding">0</property>
+ <child>
+ <object class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkImage" id="auth-face-image">
+ <property name="visible">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">1</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox3">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkLabel" id="auth-realname-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;span size="x-large"&gt;%R&lt;/span&gt;</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="auth-username-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;span size="small"&gt;%U on %h&lt;/span&gt;</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="status-message-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">True</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="auth-prompt-box">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="auth-prompt-label">
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="auth-prompt-entry">
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="visibility">False</property>
+ <property name="max_length">0</property>
+ <property name="text" translatable="yes"/>
+ <property name="has_frame">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="auth-prompt-kbd-layout-indicator">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="auth-capslock-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="auth-status-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHButtonBox" id="auth-action-area">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkButton" id="auth-note-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Leave Message</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="auth-switch-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Switch User</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="auth-logout-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Log Out</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="auth-cancel-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Cancel</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="auth-unlock-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Unlock</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkVBox" id="note-tab">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">10</property>
+ <child>
+ <object class="GtkLabel" id="note-tab-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;b&gt;Leave a message for %R:&lt;/b&gt;</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+ <child>
+ <object class="GtkTextView" id="note-text-view">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">True</property>
+ <property name="overwrite">False</property>
+ <property name="accepts_tab">True</property>
+ <property name="justification">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap_mode">GTK_WRAP_WORD</property>
+ <property name="cursor_visible">True</property>
+ <property name="pixels_above_lines">0</property>
+ <property name="pixels_below_lines">0</property>
+ <property name="pixels_inside_wrap">0</property>
+ <property name="left_margin">0</property>
+ <property name="right_margin">0</property>
+ <property name="indent">0</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHButtonBox" id="hbuttonbox1">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkButton" id="note-cancel-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="note-ok-button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-save</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label9">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+</interface>
diff --git a/data/mate-screensaver b/data/mate-screensaver
new file mode 100644
index 0000000..4bd6427
--- /dev/null
+++ b/data/mate-screensaver
@@ -0,0 +1,15 @@
+#%PAM-1.0
+
+# Fedora Core
+auth include system-auth
+auth optional pam_mate_keyring.so
+account include system-auth
+password include system-auth
+session include system-auth
+
+# SuSE/Novell
+#auth include common-auth
+#auth optional pam_mate_keyring.so
+#account include common-account
+#password include common-password
+#session include common-session
diff --git a/data/mate-screensaver-command.1 b/data/mate-screensaver-command.1
new file mode 100644
index 0000000..34fb95a
--- /dev/null
+++ b/data/mate-screensaver-command.1
@@ -0,0 +1,70 @@
+.\" Copyright (C) 2007 Sven Arvidsson <[email protected]>
+.\"
+.\" This is free software; you may redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; either version 2,
+.\" or (at your option) any later version.
+.\"
+.\" This is distributed in the hope that it will be useful, but
+.\" WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\"You should have received a copy of the GNU General Public License along
+.\"with this program; if not, write to the Free Software Foundation, Inc.,
+.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+.TH mate-screensaver-command 1 "2007\-09\-27" "MATE"
+.SH NAME
+mate-screensaver-command \- controls MATE screensaver
+.SH SYNOPSIS
+.B mate-screensaver-command
+.RI [ OPTION... ]
+.SH DESCRIPTION
+mate-screensaver-command is a tool for controlling an already
+running instance of mate-screensaver.
+.SH OPTIONS
+.TP
+.B \-\-exit
+Causes the screensaver to exit gracefully
+.TP
+.B \-q, \-\-query
+Query the state of the screensaver
+.TP
+.B \-t, \-\-time
+Query the length of time the screensaver has been active
+.TP
+.B \-l, \-\-lock
+Tells the running screensaver process to lock the screen immediately
+.TP
+.B \-c, \-\-cycle
+If the screensaver is active then switch to another graphics demo
+.TP
+.B \-a, \-\-activate
+Turn the screensaver on (blank the screen)
+.TP
+.B \-d, \-\-deactivate
+If the screensaver is active then deactivate it (un-blank the screen)
+.TP
+.B \-p, \-\-poke
+Poke the running screensaver to simulate user activity
+.TP
+.B \-i, \-\-inhibit
+Inhibit the screensaver from activating. Command blocks while inhibit
+is active.
+.TP
+.B \-n, \-\-application-name
+The calling application that is inhibiting the screensaver
+.TP
+.B \-r, \-\-reason
+The reason for inhibiting the screensaver
+.TP
+.B \-V, \-\-version
+Version of this application
+.SH AUTHORS
+.B mate-screensaver-command
+is written by William Jon McCann <[email protected]>.
+.P
+This manual page was written by Sven Arvidsson <[email protected]>.
+.SH SEE ALSO
+.BR "mate-screensaver" (1)
+
diff --git a/data/mate-screensaver-preferences.1 b/data/mate-screensaver-preferences.1
new file mode 100644
index 0000000..b00176c
--- /dev/null
+++ b/data/mate-screensaver-preferences.1
@@ -0,0 +1,37 @@
+.\" Copyright (C) 2007 Sven Arvidsson <[email protected]>
+.\"
+.\" This is free software; you may redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; either version 2,
+.\" or (at your option) any later version.
+.\"
+.\" This is distributed in the hope that it will be useful, but
+.\" WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\"You should have received a copy of the GNU General Public License along
+.\"with this program; if not, write to the Free Software Foundation, Inc.,
+.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+.TH mate-screensaver-preferences 1 "2007\-09\-27" "MATE"
+.SH NAME
+mate-screensaver-preferences \- configure MATE Screensaver
+.SH SYNOPSIS
+.B mate-screensaver-preferences
+.RI [ OPTIONS... ]
+.SH DESCRIPTION
+Manages preferences for the MATE screen saver.
+.SH OPTIONS
+This program only accepts the standard GTK options.
+.SH AUTHORS
+.B mate-screensaver-preferences
+is written by William Jon McCann <[email protected]>.
+.P
+This manual page was written by Sven Arvidsson <[email protected]>.
+.SH SEE ALSO
+.BR "mate-screensaver" (1),
+.BR "gtk-options" (7)
+.P
+The online documentation available through the program's
+.I Help
+menu.
diff --git a/data/mate-screensaver-preferences.desktop.in b/data/mate-screensaver-preferences.desktop.in
new file mode 100644
index 0000000..9800ad8
--- /dev/null
+++ b/data/mate-screensaver-preferences.desktop.in
@@ -0,0 +1,13 @@
+[Desktop Entry]
+_Name=Screensaver
+_Comment=Set your screensaver preferences
+Icon=preferences-desktop-screensaver
+Exec=mate-screensaver-preferences
+Terminal=false
+Type=Application
+Categories=GTK;MATE;Settings;DesktopSettings;
+OnlyShowIn=MATE;
+StartupNotify=true
+X-MATE-Bugzilla-Bugzilla=MATE
+X-MATE-Bugzilla-Product=mate-screensaver
+X-MATE-Bugzilla-Component=general
diff --git a/data/mate-screensaver-preferences.ui b/data/mate-screensaver-preferences.ui
new file mode 100644
index 0000000..cfa6ccd
--- /dev/null
+++ b/data/mate-screensaver-preferences.ui
@@ -0,0 +1,620 @@
+<?xml version="1.0"?>
+<!--*- mode: xml -*-->
+<interface>
+ <object class="GtkImage" id="preview_image">
+ <property name="stock">gtk-fullscreen</property>
+ <property name="icon_size">4</property>
+ </object>
+ <object class="GtkImage" id="power_image">
+ <property name="stock">gtk-jump-to</property>
+ <property name="icon_size">4</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="upper">120</property>
+ <property name="lower">1</property>
+ <property name="page_increment">10</property>
+ <property name="step_increment">1</property>
+ <property name="page_size">0</property>
+ <property name="value">10</property>
+ </object>
+ <object class="GtkDialog" id="prefs_dialog">
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Screensaver Preferences</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+ <property name="default_width">600</property>
+ <property name="default_height">400</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">False</property>
+ <property name="decorated">True</property>
+ <property name="skip_taskbar_hint">False</property>
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="focus_on_map">True</property>
+ <property name="urgency_hint">False</property>
+ <property name="has_separator">False</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox1">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <child>
+ <object class="GtkButton" id="helpbutton1">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-help</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="gpm_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="image">power_image</property>
+ <property name="label" translatable="yes">Power _Management</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="button1">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-close</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="orientation">vertical</property>
+ <property name="border_width">5</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkVBox" id="vbox8">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="savers_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Screensaver theme:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox6">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkTable" id="table1">
+ <property name="visible">True</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="homogeneous">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">6</property>
+ <child>
+ <object class="GtkScrolledWindow" id="themes_scrolled_window">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+ <child>
+ <object class="GtkTreeView" id="savers_treeview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">False</property>
+ <property name="rules_hint">False</property>
+ <property name="reorderable">False</property>
+ <property name="enable_search">True</property>
+ <property name="fixed_height_mode">False</property>
+ <property name="hover_selection">False</property>
+ <property name="hover_expand">False</property>
+ <accessibility>
+ <relation target="savers_treeview" type="label-for"/>
+ </accessibility>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkDrawingArea" id="preview_area">
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHButtonBox" id="hbuttonbox1">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_START</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkButton" id="preview_button">
+ <property name="visible">True</property>
+ <property name="can_default">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="image">preview_image</property>
+ <property name="label" translatable="yes">_Preview</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options">fill</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox2">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkVBox" id="vbox5">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkHBox" id="hbox3">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkVBox" id="vbox6">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkVBox" id="vbox3">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="activate_delay_hbox">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="activate_delay_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Regard the computer as _idle after:</property>
+ <property name="use_underline">True</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox4">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHScale" id="activate_delay_hscale">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="draw_value">True</property>
+ <property name="value_pos">GTK_POS_TOP</property>
+ <property name="digits">0</property>
+ <property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
+ <property name="inverted">False</property>
+ <property name="adjustment">adjustment1</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="enable_checkbox">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Activate screensaver when computer is idle</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="lock_checkbox">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Lock screen when screensaver is active</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="root_warning_label">
+ <property name="label" translatable="yes">&lt;b&gt;Warning: the screen will not be locked for the root user.&lt;/b&gt;</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">True</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-11">helpbutton1</action-widget>
+ <action-widget response="-2">gpm_button</action-widget>
+ <action-widget response="-7">button1</action-widget>
+ </action-widgets>
+ </object>
+ <object class="GtkWindow" id="fullscreen_preview_window">
+ <property name="can_focus">True</property>
+ <property name="has_focus">True</property>
+ <property name="title" translatable="yes">Screensaver Preview</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_CENTER</property>
+ <property name="modal">True</property>
+ <property name="resizable">True</property>
+ <property name="destroy_with_parent">True</property>
+ <property name="decorated">False</property>
+ <property name="skip_taskbar_hint">True</property>
+ <property name="skip_pager_hint">True</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="focus_on_map">True</property>
+ <property name="urgency_hint">False</property>
+ <child>
+ <object class="GtkVBox" id="vbox10">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkHBox" id="hbox9">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+ <child>
+ <object class="GtkImage" id="image2">
+ <property name="visible">True</property>
+ <property name="stock">gtk-dialog-warning</property>
+ <property name="icon_size">4</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">10</property>
+ <property name="ypad">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label15">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">&lt;b&gt;Screensaver preview&lt;/b&gt;</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_FILL</property>
+ <property name="wrap">True</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="fullscreen_preview_theme_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"/>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="fullscreen_preview_previous_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <child>
+ <object class="GtkImage" id="image5">
+ <property name="visible">True</property>
+ <property name="stock">gtk-go-back</property>
+ <property name="icon_size">4</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="fullscreen_preview_next_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <child>
+ <object class="GtkImage" id="image4">
+ <property name="visible">True</property>
+ <property name="stock">gtk-go-forward</property>
+ <property name="icon_size">4</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="fullscreen_preview_close">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-leave-fullscreen</property>
+ <property name="use_stock">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkDrawingArea" id="fullscreen_preview_area">
+ <property name="visible">True</property>
+ </object>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/data/mate-screensaver.1 b/data/mate-screensaver.1
new file mode 100644
index 0000000..a9539a0
--- /dev/null
+++ b/data/mate-screensaver.1
@@ -0,0 +1,41 @@
+.\" Copyright (C) 2007 Sven Arvidsson <[email protected]>
+.\"
+.\" This is free software; you may redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; either version 2,
+.\" or (at your option) any later version.
+.\"
+.\" This is distributed in the hope that it will be useful, but
+.\" WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\"You should have received a copy of the GNU General Public License along
+.\"with this program; if not, write to the Free Software Foundation, Inc.,
+.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+.TH mate-screensaver 1 "2007\-09\-27" "MATE"
+.SH NAME
+mate-screensaver \- screen saver and locker
+.SH SYNOPSIS
+.B mate-screensaver
+.RI [ OPTIONS... ]
+.SH DESCRIPTION
+MATE Screensaver is the default screen saver and locker in a MATE
+desktop. It is designed with simplicity and security in mind.
+.SH OPTIONS
+.TP
+.B \-\-no\-daemon
+Don't become a daemon
+.TP
+.B \-\-debug
+Enable debugging code
+.P
+This program also accepts the standard GTK options.
+.SH AUTHORS
+.B mate-screensaver
+is written by William Jon McCann <[email protected]>.
+.P
+This manual page was written by Sven Arvidsson <[email protected]>.
+.SH SEE ALSO
+.BR "gtk-options" (7)
+
diff --git a/data/mate-screensaver.directory.in b/data/mate-screensaver.directory.in
new file mode 100644
index 0000000..3733bbd
--- /dev/null
+++ b/data/mate-screensaver.directory.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+_Name=Screensavers
+_Comment=Screensaver themes
+Icon=screensaver
+Type=Directory
+OnlyShowIn=MATE;
+NoDisplay=false
diff --git a/data/mate-screensaver.pc.in b/data/mate-screensaver.pc.in
new file mode 100644
index 0000000..4294e22
--- /dev/null
+++ b/data/mate-screensaver.pc.in
@@ -0,0 +1,17 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+libexecdir=@libexecdir@
+includedir=@includedir@
+datadir=@datadir@
+
+privlibexecdir=@privlibexecdir@
+privdatadir=@privdatadir@
+themesdir=@themesdir@
+
+Name: mate-screensaver
+Description: mate screensaver
+Version: @VERSION@
+Requires:
+Libs:
+Cflags:
diff --git a/data/mate-screensaver.schemas.in b/data/mate-screensaver.schemas.in
new file mode 100644
index 0000000..5767b17
--- /dev/null
+++ b/data/mate-screensaver.schemas.in
@@ -0,0 +1,257 @@
+<mateconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/idle_activation_enabled</key>
+ <applyto>/apps/mate-screensaver/idle_activation_enabled</applyto>
+ <owner>mate-screensaver</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Activate when idle</short>
+ <long>
+ Set this to TRUE to activate the screensaver
+ when the session is idle.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/lock_enabled</key>
+ <applyto>/apps/mate-screensaver/lock_enabled</applyto>
+ <owner>mate-screensaver</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Lock on activation</short>
+ <long>
+ Set this to TRUE to lock the screen when the screensaver
+ goes active.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/mode</key>
+ <applyto>/apps/mate-screensaver/mode</applyto>
+ <owner>mate-screensaver</owner>
+ <type>string</type>
+ <default>blank-only</default>
+ <locale name="C">
+ <short>Screensaver theme selection mode</short>
+ <long>
+ The selection mode used by screensaver. May be "blank-only"
+ to enable the screensaver without using any theme on activation,
+ "single" to enable screensaver using only one theme on activation
+ (specified in "themes" key), and "random" to enable the
+ screensaver using a random theme on activation.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/themes</key>
+ <applyto>/apps/mate-screensaver/themes</applyto>
+ <owner>mate-screensaver</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[]</default>
+ <locale name="C">
+ <short>Screensaver themes</short>
+ <long>
+ This key specifies the list of themes to be used by the
+ screensaver. It's ignored when "mode" key is
+ "blank-only", should provide the theme name when "mode" is
+ "single", and should provide a list of themes when "mode" is
+ "random".
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/idle_delay</key>
+ <applyto>/apps/mate-screensaver/idle_delay</applyto>
+ <owner>mate-screensaver</owner>
+ <type>int</type>
+ <default>10</default>
+ <locale name="C">
+ <short>Time before session is considered idle</short>
+ <long>
+ The number of minutes of inactivity before the
+ session is considered idle.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/power_management_delay</key>
+ <applyto>/apps/mate-screensaver/power_management_delay</applyto>
+ <owner>mate-screensaver</owner>
+ <type>int</type>
+ <default>30</default>
+ <locale name="C">
+ <short>Time before power-management baseline</short>
+ <long>
+ The number of seconds of inactivity before signalling
+ to power-management. This key is set and maintained
+ by the session power-management agent.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/cycle_delay</key>
+ <applyto>/apps/mate-screensaver/cycle_delay</applyto>
+ <owner>mate-screensaver</owner>
+ <type>int</type>
+ <default>10</default>
+ <locale name="C">
+ <short>Time before theme change</short>
+ <long>
+ The number of minutes to run before changing the
+ screensaver theme.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/lock_delay</key>
+ <applyto>/apps/mate-screensaver/lock_delay</applyto>
+ <owner>mate-screensaver</owner>
+ <type>int</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Time before locking</short>
+ <long>
+ The number of minutes after screensaver activation
+ before locking the screen.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/embedded_keyboard_enabled</key>
+ <applyto>/apps/mate-screensaver/embedded_keyboard_enabled</applyto>
+ <owner>mate-screensaver</owner>
+ <type>bool</type>
+ <default>FALSE</default>
+ <locale name="C">
+ <short>Allow embedding a keyboard into the window</short>
+ <long>
+ Set this to TRUE to allow embedding a keyboard into the
+ window when trying to unlock. The "keyboard_command" key
+ must be set with the appropriate command.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/embedded_keyboard_command</key>
+ <applyto>/apps/mate-screensaver/embedded_keyboard_command</applyto>
+ <owner>mate-screensaver</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>Embedded keyboard command</short>
+ <long>
+ The command that will be run, if the "embedded_keyboard_enabled" key
+ is set to TRUE, to embed a keyboard widget into the window.
+ This command should implement an XEMBED plug interface and
+ output a window XID on the standard output.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/logout_enabled</key>
+ <applyto>/apps/mate-screensaver/logout_enabled</applyto>
+ <owner>mate-screensaver</owner>
+ <type>bool</type>
+ <default>FALSE</default>
+ <locale name="C">
+ <short>Allow logout</short>
+ <long>
+ Set this to TRUE to offer an option in unlock dialog to
+ logging out after a delay. The Delay is specified in the
+ "logout_delay" key.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/logout_delay</key>
+ <applyto>/apps/mate-screensaver/logout_delay</applyto>
+ <owner>mate-screensaver</owner>
+ <type>int</type>
+ <default>120</default>
+ <locale name="C">
+ <short>Time before logout option</short>
+ <long>
+ The number of minutes after the screensaver activation
+ before a logout option will appear in unlock dialog. This
+ key has effect only if the "logout_enable" key is set to TRUE.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/logout_command</key>
+ <applyto>/apps/mate-screensaver/logout_command</applyto>
+ <owner>mate-screensaver</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>Logout command</short>
+ <long>
+ The command to invoke when the logout button is clicked. This
+ command should simply log the user out without any interaction.
+ This key has effect only if the "logout_enable" key is set to TRUE.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/user_switch_enabled</key>
+ <applyto>/apps/mate-screensaver/user_switch_enabled</applyto>
+ <owner>mate-screensaver</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Allow user switching</short>
+ <long>
+ Set this to TRUE to offer an option in the unlock dialog to
+ switch to a different user account.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/lock_dialog_theme</key>
+ <applyto>/apps/mate-screensaver/lock_dialog_theme</applyto>
+ <owner>mate-screensaver</owner>
+ <type>string</type>
+ <default>default</default>
+ <locale name="C">
+ <short>Theme for lock dialog</short>
+ <long>
+ Theme to use for the lock dialog.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/mate-screensaver/status_message_enabled</key>
+ <applyto>/apps/mate-screensaver/status_message_enabled</applyto>
+ <owner>mate-screensaver</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Allow the session status message to be displayed</short>
+ <long>
+ Allow the session status message to be displayed when the screen is locked.
+ </long>
+ </locale>
+ </schema>
+
+ </schemalist>
+</mateconfschemafile>
diff --git a/data/mate-screensavers.menu.in b/data/mate-screensavers.menu.in
new file mode 100644
index 0000000..881a28a
--- /dev/null
+++ b/data/mate-screensavers.menu.in
@@ -0,0 +1,20 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+
+ <Name>Screensavers</Name>
+ <Directory>mate-screensaver.directory</Directory>
+
+ <!-- Read standard .directory and .desktop file locations -->
+ <DefaultAppDirs/>
+ <DefaultDirectoryDirs/>
+
+ <!-- Read in overrides and child menus from applications-merged/ -->
+ <DefaultMergeDirs/>
+
+ <Include>
+ <Category>Screensaver</Category>
+ </Include>
+
+</Menu>
diff --git a/data/migrate-xscreensaver-config.sh b/data/migrate-xscreensaver-config.sh
new file mode 100755
index 0000000..860a0d5
--- /dev/null
+++ b/data/migrate-xscreensaver-config.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+DIST_BIN=`dirname "$0"`
+
+CMD=xsltproc
+XSL=${DIST_BIN}/xscreensaver-config.xsl
+
+if test "x$1" = "x" -o "x$1" = "x-h" -o "x$1" = "x--help"; then
+ echo "usage: $0 [file] ..."
+ exit 1
+fi
+
+if [ ! -r ${XSL} ]; then
+ echo "Cannot find XSLT file"
+ exit 1
+fi
+
+FILES="$@"
+for FILE in $FILES; do
+ echo "${FILE}" | grep ".xml$" > /dev/null
+ if [ $? -ne 0 ]; then
+ echo "Skipping non-xml file: ${FILE}"
+ continue
+ fi
+
+ d=`dirname ${FILE}`
+ b=`basename ${FILE} .xml`
+
+ outfile="${b}.desktop"
+ echo "Creating: ${outfile}"
+ ${CMD} -o ${outfile} ${XSL} ${FILE}
+done
+
+ exit 0
diff --git a/data/org.mate.ScreenSaver.service.in b/data/org.mate.ScreenSaver.service.in
new file mode 100644
index 0000000..412ddfa
--- /dev/null
+++ b/data/org.mate.ScreenSaver.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.mate.ScreenSaver
+Exec=@EXPANDED_BINDIR@/mate-screensaver --no-daemon
diff --git a/data/xscreensaver-config.xsl b/data/xscreensaver-config.xsl
new file mode 100644
index 0000000..089193b
--- /dev/null
+++ b/data/xscreensaver-config.xsl
@@ -0,0 +1,27 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+<xsl:output method="text" indent="no" />
+<xsl:strip-space elements="*"/>
+
+<xsl:template match="screensaver">
+[Desktop Entry]
+Encoding=UTF-8
+Name=<xsl:value-of select="@_label" />
+Comment=<xsl:value-of select="normalize-space(_description)" />
+<xsl:if test="count(command/@name) != 0">
+TryExec=<xsl:value-of select="normalize-space(command/@name)" />
+Exec=<xsl:value-of select="normalize-space(command/@name)" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(command/@arg)" />
+</xsl:if>
+<xsl:if test="count(command/@name) = 0">
+TryExec=<xsl:value-of select="normalize-space(@name)" />
+Exec=<xsl:value-of select="normalize-space(@name)" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(command/@arg)" />
+</xsl:if>
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Screensaver;
+OnlyShowIn=MATE;
+</xsl:template>
+
+</xsl:stylesheet>