Show
Ignore:
Timestamp:
06/07/08 19:28:34 (6 months ago)
Author:
vardo
Message:

Added first version of 'Plugins' window. It's accessible through 'Edit/Plugins' item in roster menu. It seems that you can successfully (de)activate plug-ins through GUI now.

Added 'homepage' attribute to Plugin class.

Added (commented out) calls of pycallgraph in src/gajim.py for later use.

[xbright] Changed 'python' to 'python2.5' because code uses modules not available in previous versions of Python.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/plugin-system/src/plugins/plugin.py

    r9745 r9762  
    3131        Base class for implementing Gajim plugins. 
    3232        ''' 
    33         name = '' 
     33        name = u'' 
    3434        ''' 
    3535        Name of plugin. 
     
    3939        :type: unicode 
    4040        ''' 
    41         short_name = '' 
     41        short_name = u'' 
    4242        ''' 
    4343        Short name of plugin. 
     
    5050                module name) can act as such short name          
    5151        ''' 
    52         version = '' 
     52        version = u'' 
    5353        ''' 
    5454        Version of plugin. 
     
    6262                one to be active - is such policy good? 
    6363        ''' 
    64         description = '' 
     64        description = u'' 
    6565        ''' 
    6666        Plugin description. 
     
    7979                Especially: should we force format of giving author's e-mail? 
    8080        ''' 
     81        homepage = u'' 
     82        ''' 
     83        URL to plug-in's homepage. 
     84         
     85        :type: unicode 
     86         
     87        :todo: should we check whether provided string is valid URI? (Maybe 
     88        using 'property') 
     89        ''' 
    8190        gui_extension_points = {} 
    8291        '''