mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.4 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/kde/kdebase/post-3.3.2-kdebase-htmlframes2.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Index: konq_mainwindow.cc
  20. ===================================================================
  21. RCS file: /home/kde/kdebase/konqueror/konq_mainwindow.cc,v
  22. retrieving revision 1.1342.2.14
  23. diff -u -p -r1.1342.2.14 konq_mainwindow.cc
  24. --- ./konqueror/konq_mainwindow.cc 24 Nov 2004 18:29:51 -0000 1.1342.2.14
  25. +++ ./konqueror/konq_mainwindow.cc 12 Dec 2004 15:54:46 -0000
  26. @@ -2252,6 +2252,17 @@ KonqView * KonqMainWindow::childView( KP
  27. QString viewName = view->viewName();
  28. kdDebug() << " - viewName=" << viewName << " "
  29. << "frame names:" << view->frameNames().join( "," ) << endl;
  30. +
  31. + // First look for a hostextension containing this frame name
  32. + KParts::BrowserHostExtension *ext = KParts::BrowserHostExtension::childObject( view->part() );
  33. + if ( ext )
  34. + {
  35. + ext = ext->findFrameParent(callingPart, name);
  36. + kdDebug() << "BrowserHostExtension found part " << ext << endl;
  37. + if (!ext)
  38. + continue; // Don't use this window
  39. + }
  40. +
  41. if ( !viewName.isEmpty() && viewName == name )
  42. {
  43. kdDebug() << "found existing view by name: " << view << endl;
  44. @@ -2262,13 +2273,6 @@ KonqView * KonqMainWindow::childView( KP
  45. return view;
  46. }
  47. - // First look for a hostextension containing this frame name
  48. - KParts::BrowserHostExtension *ext = KParts::BrowserHostExtension::childObject( view->part() );
  49. - if ( ext )
  50. - {
  51. - ext = ext->findFrameParent(callingPart, name);
  52. - }
  53. -
  54. // KParts::BrowserHostExtension* ext = KonqView::hostExtension( view->part(), name );
  55. if ( ext )