Commit ebda846d authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove the gui for setting the password echo mode.

svn path=/trunk/KDE/kdebase/apps/; revision=679357
parent 2da2ba71
......@@ -11,7 +11,7 @@ kde4_automoc(${kcm_useraccount_PART_SRCS})
kde4_add_ui_files(kcm_useraccount_PART_SRCS main_widget.ui )
kde4_add_kcfg_files(kcm_useraccount_PART_SRCS settings.kcfgc pass.kcfgc )
kde4_add_kcfg_files(kcm_useraccount_PART_SRCS settings.kcfgc )
kde4_add_plugin(kcm_useraccount ${kcm_useraccount_PART_SRCS})
......@@ -24,7 +24,7 @@ install(TARGETS kcm_useraccount DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
install( FILES kcm_useraccount.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kcm_useraccount.kcfg kcm_useraccount_pass.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
install( FILES kcm_useraccount.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
kde4_install_icons( ${ICON_INSTALL_DIR} )
......
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="kdeglobals"/>
<group name="Passwords">
<entry name="EchoMode" type="Enum">
<label>Password echo type</label>
<choices>
<choice name="OneStar"/>
<choice name="ThreeStars"/>
<choice name="NoEcho"/>
<!-- TODO: We need a ShowPassword and implement it.
We need to prompt for password before
enabling it..-->
</choices>
<default>OneStar</default>
</entry>
</group>
</kcfg>
......@@ -100,7 +100,6 @@ KCMUserAccount::KCMUserAccount( QWidget *parent, const QStringList &)
"will be used in mail programs and word processors, for example. You can "
"change your login password by clicking <em>Change Password</em>.</qt>") );
addConfig( KCFGPassword::self(), this );
load();
}
......
......@@ -220,51 +220,6 @@
</property>
</spacer>
</item>
<item rowspan="1" row="2" column="0" colspan="4" >
<widget class="Q3ButtonGroup" name="kcfg_EchoMode" >
<property name="title" >
<string>At Password Prompt</string>
</property>
<property name="flat" >
<bool>false</bool>
</property>
<property name="checkable" >
<bool>false</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="selectedId" stdset="0" >
<number>0</number>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QRadioButton" name="rdbOneStar" >
<property name="text" >
<string>Show one star for each letter</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QRadioButton" name="rdbThreeStars" >
<property name="text" >
<string>Show three stars for each letter</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QRadioButton" name="rdbShowPassword" >
<property name="text" >
<string>Show nothing</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
......@@ -276,9 +231,6 @@
<tabstop>leOrganization</tabstop>
<tabstop>leEmail</tabstop>
<tabstop>leSMTP</tabstop>
<tabstop>rdbOneStar</tabstop>
<tabstop>rdbThreeStars</tabstop>
<tabstop>rdbShowPassword</tabstop>
<tabstop>btnChangePassword</tabstop>
</tabstops>
</ui>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment