Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Growl messages added and interval for clipboard inspector
- Loading branch information
Andrés Bravo Gorgonio
authored and
Andrés Bravo Gorgonio
committed
Aug 26, 2010
1 parent
a0d64b7
commit 79557e0
Showing
4 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import time | ||
import Growl | ||
|
||
|
||
class MyNotifier(Growl.GrowlNotifier): | ||
applicationName = 'Downtify' | ||
notifications = ['ntf1'] | ||
|
||
def gNotify(message='', action='') : | ||
growl = MyNotifier() | ||
growl.register() | ||
growl.notify('ntf1', message , action) | ||
|
||
def main(): | ||
growl = MyNotifier() | ||
growl.register() | ||
|
||
|
||
__all__ = ['gNotify', 'main'] | ||
|
||
if __name__ == "__main__": | ||
main() |
Binary file not shown.