- Timestamp:
- Nov 29, 2013 5:56:02 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip-apps/src/pygui/application.py
r4657 r4663 191 191 self._onTimer() 192 192 193 def updateCall(self, acc): 194 iid = str(acc.randId) 195 for call in acc.callList: 196 calliid = str(call.randId) 197 uri, status = call.statusText() 198 if self.tv.exists(calliid): 199 self.tv.item(call.iid, text=uri, values=(status,)) 200 else: 201 call.iid = self.tv.insert(iid, 0, calliid, open=True, text=uri, values=(status,)) 202 193 203 def updateAccount(self, acc): 194 204 iid = str(acc.randId) … … 270 280 self.accMenu = tk.Menu(top, tearoff=False) 271 281 # Labels, must match with _onAccContextMenu() 272 labels = [' Unregister', 'Reregister', 'Add buddy...', '-',282 labels = ['Call', '-', 'Unregister', 'Reregister', 'Add buddy...', '-', 273 283 'Online', 'Invisible', 'Away', 'Busy', '-', 274 284 'Settings...', '-', … … 351 361 return 352 362 353 if label=='Unregister': 363 if label=='Call': 364 acc.makeCall() 365 elif label=='Unregister': 354 366 acc.setRegistration(False) 355 367 elif label=='Reregister':
Note: See TracChangeset
for help on using the changeset viewer.