diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2008-02-28 15:20:41 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2008-02-28 15:20:41 +0000 |
commit | 420a61383a8b447d452f568b286ed11eede59e3b (patch) | |
tree | 62f1d668fac00650884d59737bfe7722b365adda /dm | |
parent | 1831a120b524f3471da651201b87a1efb5c653e2 (diff) | |
download | common-data-420a61383a8b447d452f568b286ed11eede59e3b.tar common-data-420a61383a8b447d452f568b286ed11eede59e3b.tar.gz common-data-420a61383a8b447d452f568b286ed11eede59e3b.tar.bz2 common-data-420a61383a8b447d452f568b286ed11eede59e3b.tar.xz common-data-420a61383a8b447d452f568b286ed11eede59e3b.zip |
- Add nolist version of gdm / kdm
- Fix buttons position in kdm
Diffstat (limited to 'dm')
-rw-r--r-- | dm/mdk-gdm-nolist.xml | 154 | ||||
-rw-r--r-- | dm/mdk-kde-nolist.xml | 135 | ||||
-rw-r--r-- | dm/mdk-kde.xml | 42 |
3 files changed, 294 insertions, 37 deletions
diff --git a/dm/mdk-gdm-nolist.xml b/dm/mdk-gdm-nolist.xml new file mode 100644 index 0000000..7cb735d --- /dev/null +++ b/dm/mdk-gdm-nolist.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<!DOCTYPE greeter SYSTEM "greeter.dtd"> +<greeter> + <item type="pixmap" id="background" background="true"> + <normal file="/usr/share/mdk/backgrounds/default.png"/> + <pos x="0" y="0" width="100%" height="100%"/> + </item> + <!-- MAIN BOX --> + <item type="rect"> + <normal color="#FFFFFF" alpha="0.4"/> + <pos y="50%" x="50%" width="600" height="276" anchor="c"/> + <box orientation="vertical"> + <item type="rect"> + <pos width="100%" height="224"/> + <fixed> + <item type="rect"> + <pos x="50%" height="50" width="100%" anchor="n"/> + <fixed> + <item type="label"> + <pos x="50%" y="50%" anchor="c"/> + <normal color="#FFFFFF" font="Sans Bold 12"/> + <!-- Stock label for: Welcome to %h --> + <stock type="welcome-label"/> + </item> + </fixed> + </item> + <item type="rect"> + <pos anchor="n" x="50%" y="50" width="100%" height="156"/> + <!-- <normal color="#FF0000" alpha="0.5"/>--> + <fixed> + <!-- the login box contents, positioned freely --> + <item type="rect"> + <pos width="box" height="box" x="50%" y="50%" anchor="c"/> + <box orientation="vertical" spacing="8" xpadding="22"> + <!-- Stock label for: Username: --> + <item type="label" id="pam-prompt"> + <pos anchor="nw" x="0"/> + <normal color="#FFFFFF" font="Sans 12"/> + <stock type="username-label"/> + </item> + <!-- user entry --> + <item type="entry" id="user-pw-entry"> + <pos height="24" width="230"/> + </item> + <item type="rect"> + <pos width="100%" height="24"/> + <fixed> + <item type="button" id="ok_button"> + <pos height="box" x="100%" anchor="e" width="box" y="50%"/> + <stock type="ok"/> + </item> + </fixed> + </item> + </box> + </item> + </fixed> + </item> + </fixed> + </item> + <item type="rect"> + <pos width="100%" height="2"/> + <normal color="#FFFFFF" alpha="0.4"/> + </item> + <item type="rect"> + <pos width="100%" height="50"/> + <fixed> + <item type="label" id="clock"> + <normal color="#FFFFFF" font="Sans 12"/> + <pos x="22" y="50%" anchor="w"/> + <text>%c</text> + </item> + <item type="rect"> + <pos x="100%" y="50%" height="30" width="box" anchor="e"/> + <box orientation="horizontal" spacing="20" xpadding="22"> + <item type="rect" id="language_button" button="true"> + <pos width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="languages.png" tint="#dddddd"/> + <prelight file="languages.png"/> + <active file="languages.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + <item type="rect" id="session_button" button="true"> + <pos width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="sessions.png" tint="#dddddd"/> + <prelight file="sessions.png"/> + <active file="sessions.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + <item type="rect" id="disconnect_button" button="true"> + <show modes="flexi,remote"/> + <pos width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="disconnect.png" tint="#dddddd"/> + <prelight file="disconnect.png"/> + <active file="disconnect.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + <item type="rect" id="system_button" button="true"> + <show type="system" modes="console"/> + <pos width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="system.png" tint="#dddddd"/> + <prelight file="system.png"/> + <active file="system.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + </box> + </item> + </fixed> + </item> + </box> + </item> + <!-- timer --> + <item type="rect" id="timed-rect"> + <show type="timed"/> + <normal color="#FFFFFF" alpha="0"/> + <pos anchor="n" x="50%" y="68%" width="box" height="box"/> + <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> + <item type="label" id="timed-label"> + <normal color="#ffffff" font="Sans 12"/> + <pos x="50%" anchor="n"/> + <!-- Stock label for: User %s will login in %d seconds --> + <stock type="timed-label"/> + </item> + </box> + </item> + <item type="label" id="pam-error"> + <pos x="50%" y="75%" anchor="c"/> + <normal font="Sans Bold 14" color="#ffffff"/> + <text/> + </item> + <item type="rect" id="caps-lock-warning"> + <normal color="#FFFFFF" alpha="0"/> + <pos anchor="n" x="50%" y="80%" width="box" height="box"/> + <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> + <item type="label"> + <normal color="#FFFFFF" font="Sans 14"/> + <pos x="50%" anchor="n"/> + <!-- Stock label for: You've got capslock on! --> + <stock type="caps-lock-warning"/> + </item> + </box> + </item> +</greeter> diff --git a/dm/mdk-kde-nolist.xml b/dm/mdk-kde-nolist.xml new file mode 100644 index 0000000..33d807c --- /dev/null +++ b/dm/mdk-kde-nolist.xml @@ -0,0 +1,135 @@ +<?xml version="1.0"?> +<!DOCTYPE greeter SYSTEM "greeter.dtd"> +<greeter> + <item type="pixmap" id="background" background="true"> + <normal file="/usr/share/mdk/backgrounds/default.png"/> + <pos x="0" y="0" width="100%" height="100%"/> + </item> + <!-- MAIN BOX --> + <item type="rect"> + <normal color="#FFFFFF" alpha="0.4"/> + <pos y="50%" x="50%" width="600" height="276" anchor="c"/> + <box orientation="vertical"> + <item type="rect"> + <pos width="100%" height="224"/> + <fixed> + <item type="rect"> + <pos x="50%" height="50" width="100%" anchor="n"/> + <fixed> + <item type="label"> + <pos x="50%" y="50%" anchor="c"/> + <normal color="#FFFFFF" font="Sans Bold 12"/> + <!-- Stock label for: Welcome to %h --> + <stock type="welcome-label"/> + </item> + </fixed> + </item> + <item type="rect"> + <pos anchor="n" x="50%" y="50" width="100%" height="156"/> + <!-- <normal color="#FF0000" alpha="0.5"/> --> + <fixed> + <!-- the login box contents, positioned freely --> + <item type="rect"> + <pos width="box" height="box" x="50%" y="50%" anchor="c"/> + <box orientation="vertical" spacing="8" xpadding="22"> + <!-- Stock label for: Username: --> + <item type="label"> + <pos anchor="nw" x="0"/> + <normal color="#FFFFFF" font="Sans 12"/> + <stock type="username-label"/> + </item> + <!-- user entry --> + <item type="entry" id="user-entry"> + <pos height="24" width="230"/> + </item> + + <!-- Stock label for: Password: --> + <item type="label"> + <pos anchor="nw" x="0"/> + <normal color="#FFFFFF" font="Sans 12"/> + <stock type="password-label"/> + </item> + <!-- user entry --> + <item type="entry" id="pw-entry"> + <pos height="24" width="230"/> + </item> + </box> + </item> + </fixed> + </item> + </fixed> + </item> + <item type="rect"> + <pos width="100%" height="2"/> + <normal color="#FFFFFF" alpha="0.4"/> + </item> + <item type="rect"> + <pos width="100%" height="50"/> + <fixed> + <item type="label" id="clock"> + <normal color="#FFFFFF" font="Sans 12"/> + <pos x="22" y="50%" anchor="w"/> + <text>%c</text> + </item> + <item type="rect"> + <pos x="-22" y="50%" height="30" width="80" anchor="e"/> + <fixed> + <item type="rect" id="session_button" button="true"> + <pos x="0" y="0" width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="sessions.png" tint="#dddddd"/> + <prelight file="sessions.png"/> + <active file="sessions.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + <item type="rect" id="system_button" button="true"> + <show type="system" modes="console"/> + <pos x="50" y="0" width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="system.png" tint="#dddddd"/> + <prelight file="system.png"/> + <active file="system.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + </fixed> + </item> + </fixed> + </item> + </box> + </item> + <!-- timer --> + <item type="rect" id="timed-rect"> + <show type="timed"/> + <normal color="#FFFFFF" alpha="0"/> + <pos anchor="n" x="50%" y="68%" width="box" height="box"/> + <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> + <item type="label" id="timed-label"> + <normal color="#ffffff" font="Sans 12"/> + <pos x="50%" anchor="n"/> + <!-- Stock label for: User %s will login in %d seconds --> + <stock type="timed-label"/> + </item> + </box> + </item> + <item type="label" id="pam-error"> + <pos x="50%" y="75%" anchor="c"/> + <normal font="Sans Bold 14" color="#ffffff"/> + <text/> + </item> + <item type="rect" id="caps-lock-warning"> + <normal color="#FFFFFF" alpha="0"/> + <pos anchor="n" x="50%" y="80%" width="box" height="box"/> + <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> + <item type="label"> + <normal color="#FFFFFF" font="Sans 14"/> + <pos x="50%" anchor="n"/> + <!-- Stock label for: You've got capslock on! --> + <stock type="caps-lock-warning"/> + </item> + </box> + </item> +</greeter> diff --git a/dm/mdk-kde.xml b/dm/mdk-kde.xml index 78514d0..49e3868 100644 --- a/dm/mdk-kde.xml +++ b/dm/mdk-kde.xml @@ -63,17 +63,6 @@ <item type="entry" id="pw-entry"> <pos height="24" width="230"/> </item> - - - <item type="rect"> - <pos width="100%" height="24"/> - <fixed> - <item type="button" id="ok_button"> - <pos height="box" x="100%" anchor="e" width="box" y="50%"/> - <stock type="ok"/> - </item> - </fixed> - </item> </box> </item> </fixed> @@ -93,31 +82,10 @@ <text>%c</text> </item> <item type="rect"> - <pos x="100%" y="50%" height="30" width="box" anchor="e"/> - <box orientation="horizontal" spacing="20" xpadding="22"> - <item type="rect" id="disconnect_button" button="true"> - <show modes="flexi,remote"/> - <pos width="30" height="30"/> - <fixed> - <item type="pixmap"> - <normal file="disconnect.png" tint="#dddddd"/> - <prelight file="disconnect.png"/> - <active file="disconnect.png" tint="#b8bcdb"/> - </item> - </fixed> - </item> - <item type="rect" id="language_button" button="true"> - <pos width="30" height="30"/> - <fixed> - <item type="pixmap"> - <normal file="languages.png" tint="#dddddd"/> - <prelight file="languages.png"/> - <active file="languages.png" tint="#b8bcdb"/> - </item> - </fixed> - </item> + <pos x="-22" y="50%" height="30" width="80" anchor="e"/> + <fixed> <item type="rect" id="session_button" button="true"> - <pos width="30" height="30"/> + <pos x="0" y="0" width="30" height="30"/> <fixed> <item type="pixmap"> <normal file="sessions.png" tint="#dddddd"/> @@ -128,7 +96,7 @@ </item> <item type="rect" id="system_button" button="true"> <show type="system" modes="console"/> - <pos width="30" height="30"/> + <pos x="50" y="0" width="30" height="30"/> <fixed> <item type="pixmap"> <normal file="system.png" tint="#dddddd"/> @@ -137,7 +105,7 @@ </item> </fixed> </item> - </box> + </fixed> </item> </fixed> </item> |