Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2005-08-18 14:53:42 -0400
committersminto2005-08-18 14:53:42 -0400
commit3e3857e58e723fefb42de237aeb5b496126cbad8 (patch)
tree3c432941841e671e55eeec4e2941e7dd122c0f0e
parent586a74715618691df252828ea5a9f22193bb4958 (diff)
downloadorg.eclipse.mylyn.tasks-3e3857e58e723fefb42de237aeb5b496126cbad8.tar.gz
org.eclipse.mylyn.tasks-3e3857e58e723fefb42de237aeb5b496126cbad8.tar.xz
org.eclipse.mylyn.tasks-3e3857e58e723fefb42de237aeb5b496126cbad8.zip
fixed Bug #107168: Show in browser link improvmemnts
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/BugzillaUITools.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java5
2 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/BugzillaUITools.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/BugzillaUITools.java
index 35e744b98..b141ee85e 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/BugzillaUITools.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/BugzillaUITools.java
@@ -241,7 +241,7 @@ public class BugzillaUITools {
| WorkbenchBrowserSupport.NAVIGATION_BAR;
}
b = WorkbenchBrowserSupport.getInstance().createBrowser(
- flags, "org.eclipse.mylar.tasklist", title,
+ flags, "org.eclipse.mylar.tasklist." + title, title,
tooltip);
b.openURL(new URL(url));
} catch (PartInitException e) {
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
index 4870b87fa..c783107ae 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
@@ -1213,6 +1213,11 @@ public abstract class AbstractBugEditor extends EditorPart implements Listener {
public void mouseDown(MouseEvent e) {
BugzillaUITools.openUrl(getTitle(), getTitleToolTip(), BugzillaRepository.getBugUrlWithoutLogin(bugzillaInput.getBug().getId()));
+ if(e.stateMask == SWT.MOD3){
+ // XXX come back to look at this ui
+ close();
+ }
+
}
});
} else{

Back to the top