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

Added setting in Programs plugin to hide suffix description #1827

Closed

Conversation

lSindra
Copy link

@lSindra lSindra commented Jan 11, 2018

As requested in #1388

What it does:

Allow the user to hide the second part of the Program name.

Example

from: "Google Chrome: Access the Internet"
to: "Google Chrome"

korzo89 and others added 30 commits June 23, 2016 22:45
Thanks for a great app - heres a danish translation!
* Fixed HideOnStartup
* Fixed tray icon not showing up and hiding properly
lock is not needed since assignment is atomic
Added German and Danish language support
bao-qian and others added 18 commits April 23, 2017 23:33
since Yamp is not maintained anymore, replaced with Mages
- does not steal focus from main Wox window on Show
- TextBlock sizes are set to auto and expand vertically
- locations for animations are set at Loaded event instead of constructor call. This ensures that all elements have their sized calculated
- added duration parameter to Show.  Msg will display indefinitely if no parameter is passed and will close itself after the specified duration. This is not replicated in the public plugin API therefore all Msg.Show calls from plugins will be open until manually closed.
Plugin errors on initialization are catched, saved into a list and the user is notified that the plugins have been disabled.
Uses Msg window to show the plugins that did not load correctly.
Added english language strings
The goal is to encourage translation.
private void ShowDescription_Click(object sender, RoutedEventArgs e)
{
_settings.EnableShowDescription = ShowDescription.IsChecked ?? false;
ReIndexing();
Copy link
Member

@lances101 lances101 Jan 12, 2018

Choose a reason for hiding this comment

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

Why are you reindexing here? Showing the description or not is purely visual.

Edit: Okay. Found out why you are doing it. I am not saying its the worst way to do this, but I will have to take a look later, cause it feels kinda hacky in my opinion.

@lSindra
Copy link
Author

lSindra commented Jan 13, 2018

Yes, thought of asking you about it, but didn't really know how. If you get a better way to "refresh" let me know.

@bao-qian
Copy link
Member

bao-qian commented Apr 21, 2020

hi @lSindra,
Thanks for your contribution
1 you only remove the description from lnk program, but not all write to program.Description, please fix this.
2 please resolve the conflict.

@bao-qian bao-qian closed this Apr 21, 2020
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.