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

from Tnthieding/persist IMPORTANT #84

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

erfantkerfan
Copy link

this feature is really needed
please take some time and merge this

README.md Outdated

An easy-to-use Python library for displaying Windows 10 Toast Notifications which is useful for Windows GUI development.
Fork of https://github.com/jithurjacob/Windows-10-Toast-Notifications.

Choose a reason for hiding this comment

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

This change should be reverted.

README.md Outdated

## Installation

```
pip install win10toast
pip install win10toast-persist

Choose a reason for hiding this comment

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

This doesn't looks good. Persistence should be a simple configuration rather than changing package name (especially if you want this PR to be merged).

README.md Outdated

An easy-to-use Python library for displaying Windows 10 Toast Notifications with support for notifications that persist
in the notification center.

Choose a reason for hiding this comment

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

This change looks good

README.md Outdated

![o7ja4 1](https://cloud.githubusercontent.com/assets/7101452/19763806/75f71ba4-9c5d-11e6-9f16-d0d4bf43e63e.png)

Update original package's interface to support persistent notifications by passing ``duration=None``.

Choose a reason for hiding this comment

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

It would be better if documented as a new option (i.e. Persistence is now supported using duration=None)

@@ -66,7 +66,8 @@ def _show_toast(self, title, msg,
:title: notification title
:msg: notification message
:icon_path: path to the .ico file to custom notification
:duration: delay in seconds before notification self-destruction
:duration: delay in seconds before notification self-destruction, None for no-self-destruction

Choose a reason for hiding this comment

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

This is good

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.

3 participants