-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Close (go to Dashboard) to repos dropdown #11751
Conversation
This comment is still valid: #10906 (comment)
|
Why create hacks - spread over half of the class - for problems with synchronous execution of overridden methods if it works without pain using event handlers? |
Moreover, closing the dropdown does / not work randomly. |
That's bizarre....
…On Sun, 26 May 2024, 3:00 am Michael Seibt, ***@***.***> wrote:
This comment is still valid: #10906 (comment)
<#10906 (comment)>
Moreover, closing the dropdown does / not work randomly.
—
Reply to this email directly, view it on GitHub
<#11751 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBTEXULXMMKOSG4TGNNGQTZEC7RXAVCNFSM6AAAAABIGXT2C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRGM3DCMZXGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You've lost me. Could you please elaborate? |
I think I found the reason - I lost the call to the base: protected override void OnDropDownShow(EventArgs e)
{
+ base.OnDropDownShow(e); Now, it's all working: 11751.mp4 |
00d2344
to
e6db05c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to work
Why isn't there a change to English.xlf
?
src/app/GitUI/CommandsDialogs/Menus/WorkingDirectoryToolStripSplitButton.cs
Outdated
Show resolved
Hide resolved
src/app/GitUI/CommandsDialogs/Menus/WorkingDirectoryToolStripSplitButton.cs
Outdated
Show resolved
Hide resolved
src/app/GitUI/CommandsDialogs/Menus/WorkingDirectoryToolStripSplitButton.cs
Outdated
Show resolved
Hide resolved
Because we're reusing the existing text from FormBrowse. This is achieved with: void ITranslate.AddTranslationItems(ITranslation translation)
{
TranslationUtils.AddTranslationItemsFromFields("FormBrowse", this, translation);
}
void ITranslate.TranslateItems(ITranslation translation)
{
TranslationUtils.TranslateItemsFromFields("FormBrowse", this, translation);
} |
Thank you @pmiossec |
b6c5f60
to
d60b782
Compare
Thank you folks |
Proposed changes
Screenshots
After
Merge strategy
I agree that the maintainer squash merge this PR (if the commit message is clear).
✒️ I contribute this code under The Developer Certificate of Origin.