Exemple #1
0
 def show_bug_report(self):
     tbtext = self._buffer.get_text(self._buffer.get_start_iter(),
                                    self._buffer.get_end_iter())
     opts, args = lplib.fake_opts(product='pida', comment=tbtext)
     dlg = gtkgui.GuiReport(opts, do_quit=False)
     self.destroy()
     dlg.start()
 def show_bug_report(self):
     tbtext = self._buffer.get_text(self._buffer.get_start_iter(),
                                    self._buffer.get_end_iter())
     opts, args = lplib.fake_opts(product='pida', comment=tbtext)
     dlg = gtkgui.GuiReport(opts, do_quit=False)
     self.destroy()
     dlg.start()
Exemple #3
0
 def cmd_view(self):
     opts, args = lplib.fake_opts(product='pida')
     #dlg = gtkgui.ReportWindow(opts)
     #def on_response(dlg, response):
     #    def on_finished(results):
     #        dlg.hide()
     #        gobject.timeout_add(1000, dlg.destroy)
     #    print response == gtk.RESPONSE_ACCEPT
     #    print response == gtk.RESPONSE_OK
     #    if response == gtk.RESPONSE_ACCEPT:
     #        dlg._reporter.report(on_finished)
     #    else:
     #        on_finished(None)
     #dlg.connect('response', on_response)
     #dlg.show_all()
     dlg = gtkgui.GuiReport(opts, do_quit=False)
     dlg.start()
 def cmd_view(self):
     opts, args = lplib.fake_opts(product="pida")
     # dlg = gtkgui.ReportWindow(opts)
     # def on_response(dlg, response):
     #    def on_finished(results):
     #        dlg.hide()
     #        gobject.timeout_add(1000, dlg.destroy)
     #    print response == gtk.RESPONSE_ACCEPT
     #    print response == gtk.RESPONSE_OK
     #    if response == gtk.RESPONSE_ACCEPT:
     #        dlg._reporter.report(on_finished)
     #    else:
     #        on_finished(None)
     # dlg.connect('response', on_response)
     # dlg.show_all()
     dlg = gtkgui.GuiReport(opts, do_quit=False)
     dlg.start()