Группа :: Графические оболочки/KDE
Пакет: kdepim
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: kdepim-3.1.0-kandy_phonebook.patch
diff -pruN kdepim-3.1.0.old/kandy/profiles/default.kandy kdepim-3.1.0/kandy/profiles/default.kandy
--- kdepim-3.1.0.old/kandy/profiles/default.kandy 2001-04-09 04:31:18 +0400
+++ kdepim-3.1.0/kandy/profiles/default.kandy 2003-02-05 21:09:11 +0300
@@ -16,7 +16,7 @@
<command string="at^sbnr="vcs",1" hexoutput="y" name="Read event 1" />
<command string="at^sbnr="vcs",2" hexoutput="y" name="Read event 2" />
<command string="at^sbnr="vcs",3" hexoutput="y" name="Read event 3" />
- <command string="at+cpbr=1,150" hexoutput="n" name="Read telephone book" />
+ <command string="at+cpbr=1,100" hexoutput="n" name="Read telephone book" />
<command string="at+cpbr=1,3" hexoutput="n" name="Read telephone book 1-3" />
<command string="at+cpbw=70,"4711",129,"Hans Wurst"" hexoutput="n" name="Write Phonenumber" >
<parameter userinput="y" value="70" name="Index" />
diff -pruN kdepim-3.1.0.old/kandy/src/mobilegui.cpp kdepim-3.1.0/kandy/src/mobilegui.cpp
--- kdepim-3.1.0.old/kandy/src/mobilegui.cpp 2002-10-16 19:22:36 +0400
+++ kdepim-3.1.0/kandy/src/mobilegui.cpp 2003-02-05 21:09:46 +0300
@@ -175,7 +175,7 @@ void MobileGui::readModelInformation()
void MobileGui::readPhonebook()
{
- mScheduler->executeId("+cpbr=1,150");
+ mScheduler->executeId("+cpbr=1,100");
emit statusMessage(i18n("Reading mobile phonebook..."));
}
@@ -326,7 +326,7 @@ void MobileGui::processResult(ATCommand
mGSMVersionLabel->setText(command->resultField(0));
} else if (command->id() == "+cgsn") {
mSerialNumberLabel->setText(command->resultField(0));
- } else if (command->id() == "+cpbr=1,150") {
+ } else if (command->id() == "+cpbr=1,100") {
fillPhonebook(command);
} else if (command->id() == mLastWriteId) {
mLastWriteId = "";
@@ -534,7 +534,7 @@ void MobileGui::mergePhonebooks()
// Create new index
QString index;
- for(uint j=1;j<150;++j) {
+ for(uint j=1;j<100;++j) {
uint k = 0;
for(;k<mSyncer->mMobileEntries.count();++k) {
if (mSyncer->mMobileEntries.at(k)->mIndex == QString::number(j)) {
@@ -580,7 +580,7 @@ void MobileGui::syncPhonebooks()
mSyncing = true;
readKabc();
readPhonebook();
- mSyncReadId = "+cpbr=1,150";
+ mSyncReadId = "+cpbr=1,100";
}
void MobileGui::updateKabBook()