Changeset 8954

Show
Ignore:
Timestamp:
11/09/07 19:26:29 (13 months ago)
Author:
asterix
Message:

call handler only if it exists

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dialogs.py

    r8953 r8954  
    27762776                        on_response_cancel = on_response_cancel) 
    27772777 
    2778                 self.connect('destroy', on_response_cancel) 
     2778                if on_response_cancel: 
     2779                        self.connect('destroy', on_response_cancel) 
    27792780 
    27802781                filter = gtk.FileFilter()