Skip to content

Default to config icon for the property language#158454

Merged
aeschli merged 4 commits intomicrosoft:mainfrom
trond-snekvik:properties-as-config
Sep 26, 2022
Merged

Default to config icon for the property language#158454
aeschli merged 4 commits intomicrosoft:mainfrom
trond-snekvik:properties-as-config

Conversation

@trond-snekvik
Copy link
Contributor

The built-in extension for ini files defines the language for properties
files, like .gitconfig and .conf, which are language agnostic properties
files that should be represented by a language agnostic icon.

The Seti icon theme defines a cogwheel icon for properties files, but
additionally associates files with the .properties extension with Java.

Coincidentally, the first file extension listed for the properties
language is ".properties", which causes the build script for Seti to
make the Java icon the default icon for all config files, and just
overrides the icon for files like .gitconfig.

This should be the other way around, so the Java icon for .properties is
the exception for properties, and not the default.

Fix:

This patch moves the .conf extension to the top of the list of file
extensions in the built-in ini-extension and reruns the Seti build
script, making the config icon the default.

Fixes #158453.

The built-in extension for ini files defines the language for properties
files, like .gitconfig and .conf, which are language agnostic properties
files that should be represented by a language agnostic icon.

The Seti icon theme defines a cogwheel icon for properties files, but
additionally associates files with the .properties extension with Java.

Coincidentally, the first file extension listed for the properties
language is ".properties", which causes the build script for Seti to
make the Java icon the default icon for all config files, and just
overrides the icon for files like .gitconfig.

This should be the other way around, so the Java icon for .properties is
the exception for properties, and not the default.

Fix:

This patch moves the .conf extension to the top of the list of file
extensions in the built-in ini-extension and reruns the Seti build
script, making the config icon the default.

Fixes microsoft#158453.
@ghost
Copy link

ghost commented Aug 18, 2022

CLA assistant check
All CLA requirements met.

@aeschli aeschli added this to the September 2022 milestone Aug 26, 2022
@aeschli aeschli self-requested a review September 26, 2022 13:29
@aeschli aeschli enabled auto-merge (squash) September 26, 2022 13:50
@aeschli aeschli merged commit 83248ce into microsoft:main Sep 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The properties language uses a Java icon in the Seti theme

3 participants