Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 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)
Ejemplo n.º 6
0
 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