Bug 261648 - Open Repository Task should pick up repository if there is only one
Summary: Open Repository Task should pick up repository if there is only one
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: dev   Edit
Hardware: PC Windows XP
: P4 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, helpwanted
Depends on:
Blocks:
 
Reported: 2009-01-20 09:19 EST by Tomasz Zarna CLA
Modified: 2009-01-22 03:13 EST (History)
2 users (show)

See Also:


Attachments
Patch v01 (1.84 KB, patch)
2009-01-21 07:30 EST, Tomasz Zarna CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2009-01-20 09:19:47 EST
mylyn-dev-20090107

I've got only one non-local task repository configured. Every time I use "Open Repo Task" dialog I need to manually select the repository from a drop down list. This results in 2 extra clicks :)

When opening the dialog from the Task List the repo is properly selected.
Comment 1 Steffen Pingel CLA 2009-01-20 20:41:17 EST
+1 makes sense
Comment 2 Tomasz Zarna CLA 2009-01-21 07:30:56 EST
Created attachment 123219 [details]
Patch v01

Would this do the job? Selecting the first element from the task repo list in RemoteTaskSelectionDialog.createDialogArea(Composite) if there is only one item.
Comment 3 Steffen Pingel CLA 2009-01-21 15:40:48 EST
Thanks! I have applied the patch. I added "Tomasz Zarna, IBM Corporation" to the copyright header. Is that correct?
Comment 4 Steffen Pingel CLA 2009-01-21 15:41:03 EST
Reassigning.
Comment 5 Steffen Pingel CLA 2009-01-21 15:41:51 EST
Marking resolved.
Comment 6 Tomasz Zarna CLA 2009-01-22 03:13:37 EST
(In reply to comment #3)
> I added "Tomasz Zarna, IBM Corporation" to the copyright header. 
> Is that correct?

Sounds good to me, thanks.