def get_notifier_classes(self): ncs = GTKXpraClient.get_notifier_classes(self) try: from xpra.client.gtk3.gtk3_notifier import GTK3_Notifier ncs.append(GTK3_Notifier) except Exception, e: log("cannot load GTK3 notifier: %s", e)
def get_notifier_classes(self): ncs = GTKXpraClient.get_notifier_classes(self) try: from xpra.client.gtk2.gtk2_notifier import GTK2_Notifier ncs.append(GTK2_Notifier) except Exception, e: log.warn("cannot load GTK2 notifier: %s", e)
def get_notifier_classes(self): ncs = GTKXpraClient.get_notifier_classes(self) try: from xpra.client.gtk2.gtk2_notifier import GTK2_Notifier ncs.append(GTK2_Notifier) except Exception as e: log.warn("cannot load GTK2 notifier: %s", e) return ncs
def get_notifier_classes(self): ncs = GTKXpraClient.get_notifier_classes(self) if not WIN32: #for some reason, not included in win32 builds? try: from xpra.client.gtk3.gtk3_notifier import GTK3_Notifier ncs.append(GTK3_Notifier) except Exception, e: log("failed to load the GTK3 notification class: %s", e)
def get_notifier_classes(self): ncs = GTKXpraClient.get_notifier_classes(self) if not OSX: try: from xpra.client.gtk3.gtk3_notifier import GTK3_Notifier ncs.append(GTK3_Notifier) except Exception as e: log.warn("Warning: failed to load the GTK3 notification class") log.warn(" %s", e) return ncs