Show
Ignore:
Timestamp:
01/13/07 23:35:41 (23 months ago)
Author:
asterix
Message:

merge diff from trunc to 0.11 branch

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11/src/common/GnuPG.py

    r7652 r7829  
    4444 
    4545        class GnuPG(GnuPGInterface.GnuPG): 
    46                 def __init__(self): 
     46                def __init__(self, use_agent = False): 
    4747                        GnuPGInterface.GnuPG.__init__(self) 
     48                        self.use_agent = use_agent 
    4849                        self._setup_my_options() 
    4950 
     
    5455                        # Nolith's patch - prevent crashs on non fully-trusted keys 
    5556                        self.options.extra_args.append('--always-trust') 
     57                        if self.use_agent: 
     58                                self.options.extra_args.append('--use-agent') 
    5659 
    5760                def _read_response(self, child_stdout):