From 1a6c81339affaec23e8fbde2a77fee7bc2a91850 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Jan 2012 17:26:08 +0100 Subject: eclipse-phpeclipse: import from f16 --- eclipse-phpeclipse-fix-phpmanual-view.patch | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 eclipse-phpeclipse-fix-phpmanual-view.patch (limited to 'eclipse-phpeclipse-fix-phpmanual-view.patch') diff --git a/eclipse-phpeclipse-fix-phpmanual-view.patch b/eclipse-phpeclipse-fix-phpmanual-view.patch new file mode 100644 index 0000000..3958fc5 --- /dev/null +++ b/eclipse-phpeclipse-fix-phpmanual-view.patch @@ -0,0 +1,38 @@ +Index: ./plugins/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java +=================================================================== +--- ./plugins/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java (revision 1643) ++++ ./plugins/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java (working copy) +@@ -181,7 +181,8 @@ + Display.getDefault().asyncExec(new Runnable() { + public void run() { + String html = getHtmlSource(funcName); +- browser.setText(html); ++ if (html != null) ++ browser.setText(html); + } + }); + } +Index: ./plugins/net.sourceforge.phpeclipse.phpmanual/plugin.xml +=================================================================== +--- ./plugins/net.sourceforge.phpeclipse.phpmanual/plugin.xml (revision 1643) ++++ ./plugins/net.sourceforge.phpeclipse.phpmanual/plugin.xml (working copy) +@@ -13,16 +13,16 @@ + icon="icons/phpmanual.png" + category="net.sourceforge.phpeclipse.views.category" + class="net.sourceforge.phpeclipse.phpmanual.views.PHPManualView" +- id="net.sourceforge.phpeclipse.phpmanual.views.PHPManualViewz"> ++ id="net.sourceforge.phpeclipse.phpmanual.views.PHPManualView"> + + + + ++ targetID="net.sourceforge.phpeclipse.PHPPerspective"> + + -- cgit