Skip to content
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

Display icons in commit templates menu items #7037

Merged
merged 1 commit into from Aug 22, 2019

Conversation

pmiossec
Copy link
Member

Proposed changes

  • Display icons (especially the one of the Jira commit hint plugin) in commit templates menu items

PS: I have created because I'm mostly interested by the api change that it introduce (most of the code is common, there is just one line to update in the commit hint plugin).

Screenshots

Before

image

After

With provider:
image

Without provider (don't block on the Azure DevOps icon, this PR add Jira icon but I only can test it with the AzureDevOps plugin I'm developping...):

image

Test methodology

  • Manual

Test environment(s)

  • Git Extensions 3.2.0
  • Build 4bb4263
  • Git 2.21.0.windows.1 (recommended: 2.22.0 or later)
  • Microsoft Windows NT 10.0.17134.0
  • .NET Framework 4.7.3416.0
  • DPI 192dpi (200% scaling)

@ghost ghost assigned pmiossec Aug 21, 2019
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, subject to the my comment

/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Settings {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have this icon, though it is probably under a different name:
image

Please re-use it instead of adding a new resource

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I didn't know of the Images resources. I was miss leaded by the fact that there are images in the Resources resources.

@RussKie RussKie added this to the 3.2.0 milestone Aug 22, 2019
@RussKie
Copy link
Member

RussKie commented Aug 22, 2019 via email

@pmiossec pmiossec merged commit 32aca98 into gitextensions:master Aug 22, 2019
@pmiossec pmiossec deleted the icon_commit_templates branch August 22, 2019 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants