From kwrite-devel Sat Apr 30 18:44:24 2005 From: Dominik Haumann Date: Sat, 30 Apr 2005 18:44:24 +0000 To: kwrite-devel Subject: Re: kate 2.4 error in kateapp Message-Id: <200504302044.26573.dhdev () gmx ! de> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=111488679925472 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1998248814==" --===============1998248814== Content-Type: multipart/signed; boundary="nextPart21448399.dqp6su3TL6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart21448399.dqp6su3TL6 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 27 April 2005 22:20, Christoph Cullmann wrote: > hi, > could somebody change this code in kateapp.cpp: [...] > and test if that still works? this could solve the double kate win > creation bug Yes, it works. Starting kate on another desktop moves the kate mainwindow t= o=20 this desktop (as supposed). I guess we should commit this, right? Do we=20 have a BR for this? Index: kateapp.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kdebase/kate/app/kateapp.cpp,v retrieving revision 1.96 diff -u -3 -p -r1.96 kateapp.cpp =2D-- kateapp.cpp 22 Feb 2005 14:19:52 -0000 1.96 +++ kateapp.cpp 30 Apr 2005 18:43:35 -0000 @@ -247,21 +247,7 @@ int KateApp::newInstance() } else { =2D if (activeKateMainWindow() && KWin::windowInfo =2D (activeKateMainWindow()->winId()).isOnCurrentDesktop()) =2D { =2D win =3D activeKateMainWindow(); =2D } =2D else =2D { =2D for (uint i=3D0; i < m_mainWindows.count(); i++) =2D { =2D if (KWin::windowInfo=20 (m_mainWindows.at(i)->winId()).isOnCurrentDesktop()) =2D { =2D win =3D m_mainWindows.at(i); =2D break; =2D } =2D } =2D } + win =3D activeKateMainWindow(); // create window on current desktop if (!win) =2D-=20 Dominik GPG Fingerprint: AC88 49E3 D8A5 0541 5B71 AC6E 29AA 1696 FF64 EDBC User-Agent: KMail; Desktop: KDE; OS: Gentoo/Linux; *free software* --nextPart21448399.dqp6su3TL6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.15 (GNU/Linux) iD8DBQBCc9IKKaoWlv9k7bwRAvPiAJ9rQsARw58ic//TISV0mYM+sMR+uwCdFUXo fWBr4UAW2+MRKN1yLTPAMC0= =AEvL -----END PGP SIGNATURE----- --nextPart21448399.dqp6su3TL6-- --===============1998248814== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============1998248814==--