Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1652624
 поиск   регистрация   авторизация 
 
Группа :: Графические оболочки/KDE
Пакет: kdebase

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: kdepasswd-3.3.1-userpasswd.patch


--- kdebase-3.3.1/kdepasswd/kcm/main.cpp~	2004-10-06 19:23:19 +0400
+++ kdebase-3.3.1/kdepasswd/kcm/main.cpp	2004-10-06 19:25:21 +0400
@@ -104,19 +104,19 @@ KCMUserAccount::KCMUserAccount( QWidget 
 void KCMUserAccount::slotChangePassword()
 {
 	KProcess *proc = new KProcess;
-	QString bin = KGlobal::dirs()->findExe("kdepasswd");
+	QString bin = KGlobal::dirs()->findExe("userpasswd");
 	if ( !bin )
 	{
-		kdDebug() << "kcm_useraccount: kdepasswd was not found." << endl;
+		kdDebug() << "kcm_useraccount: userpasswd was not found." << endl;
 		KMessageBox::sorry ( this, i18n( "A program error occurred: the internal "
-			"program 'kdepasswd' could not be found. You will "
+			"program 'userpasswd' could not be found. You will "
 			"not be able to change your password."));
 
 		_mw->btnChangePassword->setEnabled(false);
 		return;
 	}
 
-	*proc << bin << _ku->loginName() ;
+	*proc << bin;
 	proc->start(KProcess::DontCare);
 
 	delete proc;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005