예제 #1
0
def notifyH(title, text, image=None, mstime=2000):
    """Notify for human... not using localized string :p
    """
    if not image:
        image = getImage('icon-default-256')
    return showNotification(title=title, message=text, image=image,
                            displaytime=mstime)
예제 #2
0
def notify(title, text, image=None, mstime=2000):
    """Notification that wrap title and text parameter into lang()
    """
    if not image:
        image = getImage('icon-default-256')
    return showNotification(title=lang(title),
                            message=lang(text),
                            image=getImage,
                            displaytime=mstime)
예제 #3
0
def notify(title, text, image=None, mstime=2000):
    """Notification that wrap title and text parameter into lang()
    """
    if not image:
        image = getImage('icon-default-256')
    return showNotification(title=lang(title), 
                     message=lang(text), 
                     image= getImage, 
                     displaytime=mstime)