Changeset 490:9ee656e6c2d2 for src/mlx/gui
- Timestamp:
- 04/01/13 11:52:28 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/bugreport.py
r484 r490 125 125 descriptionBuffer.get_end_iter(), 126 126 False) 127 description = text2unicode(description) 127 128 self.set_sensitive(False) 128 self._gui.sendBugReport( self._summary.get_text(),129 self._gui.sendBugReport(text2unicode(self._summary.get_text()), 129 130 description, 130 self._email.get_text(),131 text2unicode(self._email.get_text()), 131 132 self._bugReportSent) 132 133 -
src/mlx/gui/gui.py
r484 r490 1385 1385 def sendBugReport(self, summary, description, email, callback = None): 1386 1386 """Send the bug report with the given data.""" 1387 description += "\n\n" + ("=" * 40) 1388 description += "\n\nThe contents of the log:\n\n" 1389 1390 for (timestampString, text) in self._logger.lines: 1391 description += unicode(formatFlightLogLine(timestampString, text)) 1392 1393 description += "\n\n" + ("=" * 40) 1394 description += "\n\nThe contents of the debug log:\n\n" 1395 1396 buffer = self._debugLogView.get_buffer() 1397 description += buffer.get_text(buffer.get_start_iter(), 1398 buffer.get_end_iter(), True) 1399 1387 1400 self.beginBusy(xstr("sendBugReport_busy")) 1388 1401 self._sendBugReportCallback = callback
Note:
See TracChangeset
for help on using the changeset viewer.