Changeset 10091
- Timestamp:
- 07/31/08 08:23:03 (4 months ago)
- Files:
-
- 1 modified
-
trunk/src/dialogs.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dialogs.py
r10090 r10091 2928 2928 2929 2929 class InvitationReceivedDialog: 2930 def __init__(self, account, room_jid, contact_jid, password =None,2931 comment = None, is_continued =False):2930 def __init__(self, account, room_jid, contact_jid, password=None, 2931 comment=None, is_continued=False): 2932 2932 2933 2933 self.room_jid = room_jid … … 2952 2952 sectext += '\n\n%s' % comment 2953 2953 sectext += '\n\n' + _('Do you want to accept the invitation?') 2954 2955 dialog = YesNoDialog(pritext, sectext) 2956 if dialog.get_response() == gtk.RESPONSE_YES: 2954 2955 def on_yes(checked): 2957 2956 try: 2958 2957 if self.is_continued: … … 2963 2962 except GajimGeneralException: 2964 2963 pass 2964 2965 dialog = YesNoDialog(pritext, sectext, on_response_yes=on_yes) 2965 2966 2966 2967 class ProgressDialog:
