-
-
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
FormBrowse: transform Settings button in split button for easy access… #10292
base: master
Are you sure you want to change the base?
Conversation
The button uses more space with this, not sure I want that... |
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.
+0
this.EditSettings.Click += new System.EventHandler(this.OnShowSettingsClick); | ||
this.EditSettings.ButtonClick += new System.EventHandler(this.OnShowSettingsClick); |
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.
I guess this is the cause why the Ctrl+,
hotkey does not work any longer.
s/EditSettings.PerformClick/OpenSettings/
9d35b44
to
7fa1426
Compare
done. |
Tests need to be adapted |
This PR is not high priority because it was clear that it won't end up in v4.0 (due to new translation strings). |
7fa1426
to
87207d9
Compare
87207d9
to
198be48
Compare
198be48
to
f0562ef
Compare
this.pluginsSettingsToolStripMenuItem.Image = global::GitUI.Properties.Images.Plugin; | ||
this.pluginsSettingsToolStripMenuItem.Name = "pluginsSettingsToolStripMenuItem"; | ||
this.pluginsSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22); | ||
this.pluginsSettingsToolStripMenuItem.Text = "&Plugins settings"; |
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.
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.
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.
Done. It remains this integration test failing that I don't absolutely know what to do about 😢
@mstv I had a look in the past and I have absolutely no idea why the test that is failing need to be updated 😢. What change has an impact on this test... |
I agree, the Splitter tests should not be affected by this PR. I wonder why do they only fail for this PR (on AppVeyor)? Locally, they have not worked for me for longer time. Though with "CommitInfo left of the RevisionGrid", the splitter is really restored incorrectly. You could rebase and fixup the capitalization of the menu item labels. |
4c8df88
to
799808c
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.
In #10647 I started encapsulating menu-related functionality trying to reduce complexities of FormBrowse class. This change in its current form is moving in the opposite direction.
Could you please rework it to encapsulate the functionality of the button (e.g., as EditSettingsSplitButton
type), so that we add minimal changes to the FormBrowse.
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 30 days. It will be closed if no further activity occurs. |
799808c
to
9f1ebb4
Compare
9f1ebb4
to
a58fc47
Compare
a58fc47
to
ffcdee3
Compare
… of other settings Co-authored-by: Michael Seibt <36601201+mstv@users.noreply.github.com>
ffcdee3
to
356893f
Compare
… of other settings
Proposed changes
Screenshots
Before
(just the gear)
After
Test methodology
Test environment(s)
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.