aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2005-02-28 17:08:38 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2005-02-28 17:08:38 +0000
commit1448d8405e911c1ee18dedc24591bb29a266c6fe (patch)
treee8956c44f05b302f78f42bf69796e1488cc6742e
parent355886ac0d7eab27304c103dae3e86651a005967 (diff)
downloadcommon-data-1448d8405e911c1ee18dedc24591bb29a266c6fe.tar
common-data-1448d8405e911c1ee18dedc24591bb29a266c6fe.tar.gz
common-data-1448d8405e911c1ee18dedc24591bb29a266c6fe.tar.bz2
common-data-1448d8405e911c1ee18dedc24591bb29a266c6fe.tar.xz
common-data-1448d8405e911c1ee18dedc24591bb29a266c6fe.zip
Add shared theme for GDM/KDM
-rw-r--r--dm/GdmGreeterTheme.desktop11
-rw-r--r--dm/disconnect.pngbin0 -> 3232 bytes
-rw-r--r--dm/languages.pngbin0 -> 3056 bytes
-rw-r--r--dm/mdk-gdm.xml185
-rw-r--r--dm/reboot.pngbin0 -> 3817 bytes
-rw-r--r--dm/screenshot.pngbin0 -> 27677 bytes
-rw-r--r--dm/sessions.pngbin0 -> 4998 bytes
-rw-r--r--dm/star.pngbin0 -> 9736 bytes
-rw-r--r--dm/system.pngbin0 -> 4232 bytes
-rw-r--r--mandrake_desk.spec16
10 files changed, 209 insertions, 3 deletions
diff --git a/dm/GdmGreeterTheme.desktop b/dm/GdmGreeterTheme.desktop
new file mode 100644
index 0000000..4b698d4
--- /dev/null
+++ b/dm/GdmGreeterTheme.desktop
@@ -0,0 +1,11 @@
+# This is not really a .desktop file like the rest, but it's useful to treat
+# it as such
+
+[GdmGreeterTheme]
+Encoding=UTF-8
+Greeter=mdk-gdm.xml
+Name=Mandrakelinux
+Description=Mandrakelinux theme
+Author=Mandrakesoft graphic team
+Copyright=(c) 2002-2005 Mandrakesoft
+Screenshot=screenshot.png
diff --git a/dm/disconnect.png b/dm/disconnect.png
new file mode 100644
index 0000000..ecb9949
--- /dev/null
+++ b/dm/disconnect.png
Binary files differ
diff --git a/dm/languages.png b/dm/languages.png
new file mode 100644
index 0000000..a6d79f3
--- /dev/null
+++ b/dm/languages.png
Binary files differ
diff --git a/dm/mdk-gdm.xml b/dm/mdk-gdm.xml
new file mode 100644
index 0000000..f416e52
--- /dev/null
+++ b/dm/mdk-gdm.xml
@@ -0,0 +1,185 @@
+<?xml version="1.0"?>
+<!DOCTYPE greeter SYSTEM "greeter.dtd">
+<greeter>
+ <item type="pixmap">
+ <normal file="/usr/share/mdk/backgrounds/default.png"/>
+ <pos x="0" y="0" width="100%" height="100%"/>
+ </item>
+
+ <item type="rect">
+ <pos x="0" y="90%" width="100%" height="10%"/>
+ <fixed>
+ <item type="rect">
+ <normal color="#ffffff"/>
+ <pos x="0" y="4" width="100%" height="100%"/>
+ <box orientation="horizontal" spacing="10" xpadding="10">
+ <item type="rect" id="language_button" button="true">
+ <normal color="#ffffff"/>
+ <pos y="50%" anchor="w" width="box" height="box"/>
+ <box orientation="horizontal" spacing="10" xpadding="10">
+ <item type="pixmap">
+ <normal file="languages.png" tint="#dddddd"/>
+ <prelight file="languages.png"/>
+ <active file="languages.png" tint="#b8bcdb"/>
+ <pos y="50%" anchor="w"/>
+ </item>
+ <item type="label">
+ <normal color="#21449c" font="Sans 14"/>
+ <prelight color="#666666" font="Sans 14"/>
+ <active color="#0d2d84" font="Sans 14"/>
+ <pos y="50%" anchor="w"/>
+ <!-- Stock label for: _Language -->
+ <stock type="language"/>
+ </item>
+ </box>
+ </item>
+ <item type="rect" id="session_button" button="true">
+ <normal color="#ffffff"/>
+ <pos y="50%" anchor="w" width="box" height="box"/>
+ <box orientation="horizontal" spacing="10" xpadding="10">
+ <item type="pixmap">
+ <normal file="sessions.png" tint="#dddddd"/>
+ <prelight file="sessions.png"/>
+ <active file="sessions.png" tint="#b8bcdb"/>
+ <pos y="50%" anchor="w"/>
+ </item>
+ <item type="label">
+ <normal color="#21449c" font="Sans 14"/>
+ <prelight color="#666666" font="Sans 14"/>
+ <active color="#0d2d84" font="Sans 14"/>
+ <pos y="50%" anchor="w"/>
+ <!-- Stock label for: _Session -->
+ <stock type="session"/>
+ </item>
+ </box>
+ </item>
+ <item type="rect" id="system_button" button="true">
+ <normal color="#ffffff"/>
+ <show modes="console" type="system"/>
+ <pos y="50%" anchor="w" width="box" height="box"/>
+ <box orientation="horizontal" spacing="10" xpadding="10">
+ <item type="pixmap">
+ <normal file="system.png" tint="#dddddd"/>
+ <prelight file="system.png"/>
+ <active file="system.png" tint="#b8bcdb"/>
+ <pos y="50%" anchor="w"/>
+ </item>
+ <item type="label">
+ <normal color="#21449c" font="Sans 14"/>
+ <prelight color="#666666" font="Sans 14"/>
+ <active color="#0d2d84" font="Sans 14"/>
+ <pos y="50%" anchor="w"/>
+ <!-- Stock label for: _Actions -->
+ <stock type="system"/>
+ </item>
+ </box>
+ </item>
+ <item type="rect" id="disconnect_button" button="true">
+ <normal color="#ffffff"/>
+ <show modes="flexi,remote"/>
+ <pos y="50%" anchor="w" width="box" height="box"/>
+ <box orientation="horizontal" spacing="10" xpadding="10">
+ <item type="pixmap">
+ <normal file="disconnect.png" tint="#dddddd"/>
+ <prelight file="disconnect.png"/>
+ <active file="disconnect.png" tint="#b8bcdb"/>
+ <pos y="50%" anchor="w"/>
+ </item>
+ <item type="label">
+ <normal color="#21449c" font="Sans 14"/>
+ <prelight color="#666666" font="Sans 14"/>
+ <active color="#0d2d84" font="Sans 14"/>
+ <pos y="50%" anchor="w"/>
+ <!-- Stock label for: D_isconnect -->
+ <stock type="disconnect"/>
+ <show modes="remote"/>
+ </item>
+ <item type="label">
+ <normal color="#21449c" font="Sans 14"/>
+ <prelight color="#666666" font="Sans 14"/>
+ <active color="#0d2d84" font="Sans 14"/>
+ <pos y="50%" anchor="w"/>
+ <!-- Stock label for: _Quit -->
+ <stock type="quit"/>
+ <show modes="flexi"/>
+ </item>
+ </box>
+ </item>
+ </box>
+ </item>
+ </fixed>
+ </item>
+
+ <item type="label" id="clock">
+ <normal color="#0d2d84" font="Sans 16"/>
+ <pos x="-10" y="95%" anchor="e"/>
+ <text>%c</text>
+ </item>
+
+ <item type="rect" id="caps-lock-warning">
+ <normal color="#ffffff" alpha="0.6"/>
+ <pos anchor="c" x="50%" y="75%" width="box" height="box"/>
+ <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
+ <item type="label">
+ <normal color="#000000" font="Sans 14"/>
+ <pos x="50%" anchor="n"/>
+ <!-- Stock label for: You've got capslock on! -->
+ <stock type="caps-lock-warning"/>
+ </item>
+ </box>
+ </item>
+
+ <item type="rect">
+ <show type="timed"/>
+ <normal color="#ffffff" alpha="0.6"/>
+ <pos anchor="c" x="50%" y="70%" width="box" height="box"/>
+ <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
+ <item type="label" id="timed-label">
+ <normal color="#000000" font="Sans 14"/>
+ <pos x="50%" anchor="n"/>
+ <!-- Stock label for: User %s will login in %d seconds -->
+ <stock type="timed-label"/>
+ </item>
+ </box>
+ </item>
+
+ <item type="rect">
+ <normal color="#ffffff" alpha="0.6"/>
+ <pos anchor="c" x="50%" y="40%" width="box" height="box"/>
+ <box orientation="vertical" min-width="350" xpadding="30" ypadding="30" spacing="10">
+ <item type="label">
+ <pos anchor="n" x="50%"/>
+ <normal color="#000000" font="Sans 18"/>
+ <!-- Stock label for: Welcome to %h -->
+ <stock type="welcome-label"/>
+ </item>
+ <item type="label" id="pam-prompt">
+ <pos anchor="nw" x="10%"/>
+ <normal color="#000000" font="Sans 16"/>
+ <!-- Stock label for: Username: -->
+ <stock type="username-label"/>
+ </item>
+ <item type="rect">
+ <normal color="#000000"/>
+ <pos anchor="n" x="50%" height="24" width="80%"/>
+ <fixed>
+ <item type="entry" id="user-pw-entry">
+ <pos anchor="nw" x="1" y="1" height="-2" width="-2"/>
+ </item>
+ </fixed>
+ </item>
+ <item type="label" id="pam-message">
+ <pos anchor="n" x="50%"/>
+ <normal color="#000000" font="Sans 16"/>
+ <text></text>
+ </item>
+ </box>
+ <fixed>
+ <item type="label" id="pam-error">
+ <pos anchor="n" x="50%" y="110%"/>
+ <normal color="#ffffff" font="Sans 16"/>
+ <text></text>
+ </item>
+ </fixed>
+ </item>
+</greeter>
diff --git a/dm/reboot.png b/dm/reboot.png
new file mode 100644
index 0000000..705cd03
--- /dev/null
+++ b/dm/reboot.png
Binary files differ
diff --git a/dm/screenshot.png b/dm/screenshot.png
new file mode 100644
index 0000000..a921894
--- /dev/null
+++ b/dm/screenshot.png
Binary files differ
diff --git a/dm/sessions.png b/dm/sessions.png
new file mode 100644
index 0000000..0058814
--- /dev/null
+++ b/dm/sessions.png
Binary files differ
diff --git a/dm/star.png b/dm/star.png
new file mode 100644
index 0000000..a015ab8
--- /dev/null
+++ b/dm/star.png
Binary files differ
diff --git a/dm/system.png b/dm/system.png
new file mode 100644
index 0000000..7423ea3
--- /dev/null
+++ b/dm/system.png
Binary files differ
diff --git a/mandrake_desk.spec b/mandrake_desk.spec
index 8f686ed..c2ac56f 100644
--- a/mandrake_desk.spec
+++ b/mandrake_desk.spec
@@ -1,7 +1,7 @@
Summary: The Desktop configuration files for Mandrakelinux
Name: mandrake_desk
Version: 10.1
-Release: 15mdk
+Release: 16mdk
License: GPL
URL: http://www.mandrakelinux.com/
Group: System/Configuration/Other
@@ -100,6 +100,11 @@ install -m 0644 menu/defaultlayout-simplified.menu %buildroot/%_localstatedir/me
install -d -m 0755 %buildroot/%_datadir/mdk/screensaver/
for i in screensavers/*.png ; do install -m 0644 $i %buildroot/%_datadir/mdk/screensaver/ ; done
+#install theme for GDM/KDM
+install -d -m 0755 %buildroot/%_datadir/mdk/dm
+for i in dm/*.png dm/*.desktop dm/*.xml ; do
+ install -m 0644 $i %buildroot/%_datadir/mdk/dm/
+done
%post
@@ -147,8 +152,10 @@ rm -fr %buildroot
%dir %_datadir/mdk/xfdrake/
%_datadir/mdk/xfdrake/*.png
#
-%dir /usr/share/mdk/screensaver/
-/usr/share/mdk/screensaver/*.png
+%dir %_datadir/mdk/screensaver/
+%_datadir/mdk/screensaver/*.png
+
+%_datadir/mdk/dm
#
%_localstatedir/menu-xdg/menus/applications-mdk-merged
%_localstatedir/menu-xdg/menus/applications-simplified-merged
@@ -163,6 +170,9 @@ rm -fr %buildroot
%changelog
+* Mon Feb 28 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 10.1-16mdk
+- Install shared Mdk theme for GDM/KDM
+
* Tue Jan 25 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 10.1-15mdk
- Fix small errors in default layout menu files