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

Look into using libnotify to notify users that badges are awarded #11

Open
ralphbean opened this issue Aug 10, 2013 · 0 comments
Open

Comments

@ralphbean
Copy link
Member

When users use activities, they earn badges. When those are awarded, it makes sense to notify the user.

Right now, individual activities have to have their own code to notify the user. The badge-awarding code could try to do this for the activities, but how to handle all the different programming environments. Do we interface with pygame? Or Glib? Or. wat?

In order to get around all the different peculiarities, you could try to use something in the OS to do notifications directly to the desktop environment. One way to do this is libnotify. That's what fedmsg-notify uses.

Here's an example. Things might be changing with GTK3+, though. Try it out! https://wiki.archlinux.org/index.php/Libnotify#Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant