You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 whatfedmsg-notify
uses.Here's an example. Things might be changing with GTK3+, though. Try it out! https://wiki.archlinux.org/index.php/Libnotify#Python
The text was updated successfully, but these errors were encountered: