mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -07:00
BUG-1653: Accessibility improvements, adding accept/cancel buttons to some of the forms. This way one can e.g. ESC out of a form.
This commit is contained in:
parent
5cd6afad74
commit
036aec55f5
25 changed files with 119 additions and 180 deletions
|
@ -54,7 +54,8 @@ namespace GreenshotImgurPlugin {
|
|||
//
|
||||
InitializeComponent();
|
||||
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||
|
||||
AcceptButton = finishedButton;
|
||||
CancelButton = finishedButton;
|
||||
// Init sorting
|
||||
columnSorter = new GreenshotColumnSorter();
|
||||
this.listview_imgur_uploads.ListViewItemSorter = columnSorter;
|
||||
|
@ -157,10 +158,6 @@ namespace GreenshotImgurPlugin {
|
|||
ClipboardHelper.SetClipboardData(links.ToString());
|
||||
}
|
||||
|
||||
private void FinishedButtonClick(object sender, EventArgs e) {
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ClearHistoryButtonClick(object sender, EventArgs e) {
|
||||
DialogResult result = MessageBox.Show(Language.GetString("imgur", LangKey.clear_question), "Imgur", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (result == DialogResult.Yes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue