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