Subversion Repositories mmkeyboard2k

Rev

Rev 6 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6 Rev 10
Line 64... Line 64...
64
    def __call__(self):
64
    def __call__(self):
65
        if callable(self.text):
65
        if callable(self.text):
66
            text = str(self.text())
66
            text = str(self.text())
67
        else:
67
        else:
68
            text = str(self.text)
68
            text = str(self.text)
-
 
69
        
-
 
70
        if text is None:
-
 
71
            return
69
        
72
        
70
        glib.idle_add(self.other, text, self.type)
73
        glib.idle_add(self.other, text, self.type)
71
    
74
    
72
    @classmethod
75
    @classmethod
73
    def other(cls, text, type):
76
    def other(cls, text, type):