-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 12 November 2002 07:15, Alexander Litvinov wrote:
> I am using latest licq from CVS.
>
> 1. When view someone history, I click on the 'About' tab and when on the
> 'History' tab. Buttons 'Prev' and 'Next' become unclikable.
>
> 2. Prev and Next does not work when using filter.
In the last hours two patches have been applied to the history that seem to
not work well together.
The applied patch should solve the problem.
BTW: Jon, it seems you missed some essential lines of code that have been in
my patch but i cannot find them in the cvs. see the attached patch, it
includes the missing code.
There is another bug that seems to be in juams code and i did not adress it
with the included patch: show the history, click on Prev as long as you've
reached the beginning, the Prev buttons gets disabled (ok). click another tab
(work) and click back on the history tab. the history is still showing the
beginning, but you cannot walk forward because the button is disabled. i
believe this has been introduced by juams patch.
Thomas
- --
You never hesitate to tackle the most difficult problems.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE90LzK+83LmoKU5MARAoFYAJsF6HUSx1UsVUE1vj0m72BI/IE2owCgirf4
uWy9iuQw6otTgO1OzYT4MMU=
=KIC7
-----END PGP SIGNATURE-----
Index: licq/plugins/qt-gui/src/userinfodlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/userinfodlg.cpp,v
retrieving revision 1.60
diff -u -3 -p -r1.60 userinfodlg.cpp
--- licq/plugins/qt-gui/src/userinfodlg.cpp 12 Nov 2002 02:15:35 -0000 1.60
+++ licq/plugins/qt-gui/src/userinfodlg.cpp 12 Nov 2002 08:26:39 -0000
@@ -1272,6 +1272,7 @@ void UserInfoDlg::updateTab(const QStrin
btnMain1->setText(m_bOwner ? tr("&Save") : tr("&Menu"));
btnMain3->setEnabled(true);
btnMain2->setEnabled(true);
+ btnMain1->setEnabled(true);
currentTab = WorkInfo;
if (!tabList[WorkInfo].loaded)
SetWorkInfo(NULL);
@@ -1292,10 +1293,15 @@ void UserInfoDlg::updateTab(const QStrin
{
btnMain3->setText(tr("Nex&t"));
btnMain2->setText(tr("P&rev"));
- btnMain1->setText(m_bOwner ? tr("&Save") : tr("&Menu"));
+ btnMain1->setText(m_bOwner ? tr("") : tr("&Menu"));
btnMain3->setEnabled(false);
- btnMain2->setEnabled(false);
- btnMain1->setEnabled(true);
+ btnMain2->setEnabled(true);
+ if (m_bOwner)
+ {
+ btnMain1->setEnabled(false);
+ } else {
+ btnMain1->setEnabled(true);
+ }
currentTab = HistoryInfo;
if (!tabList[HistoryInfo].loaded)
SetupHistory();