Created
August 8, 2018 17:09
-
-
Save kyokenn/9d66a1fe515eafc3fe83645e509d7b47 to your computer and use it in GitHub Desktop.
Ubuntu Launcher API example (gi)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from gi.repository import Unity, GObject | |
| loop = GObject.MainLoop() | |
| launcher = Unity.LauncherEntry.get_for_desktop_id("gajim.desktop") | |
| launcher.set_property("count", 124) | |
| launcher.set_property("count_visible", True) | |
| loop.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment