Beispiel #1
0
 def open_selected(self):
     """Open :attr:`selected_dupes` with their associated application."""
     if len(self.selected_dupes) > 10 and not self.view.ask_yes_no(
             MSG_MANY_FILES_TO_OPEN):
         return
     for dupe in self.selected_dupes:
         desktop.open_path(dupe.path)
Beispiel #2
0
 def open_selected(self):
     """Open :attr:`selected_dupes` with their associated application.
     """
     if len(self.selected_dupes) > 10:
         if not self.view.ask_yes_no(MSG_MANY_FILES_TO_OPEN):
             return
     for dupe in self.selected_dupes:
         desktop.open_path(dupe.path)
Beispiel #3
0
    def export_to_xhtml(self):
        """Export current results to XHTML.

        The configuration of the :attr:`result_table` (columns order and visibility) is used to
        determine how the data is presented in the export. In other words, the exported table in
        the resulting XHTML will look just like the results table.
        """
        colnames, rows = self._get_export_data()
        export_path = export.export_to_xhtml(colnames, rows)
        desktop.open_path(export_path)
Beispiel #4
0
    def export_to_xhtml(self):
        """Export current results to XHTML.

        The configuration of the :attr:`result_table` (columns order and visibility) is used to
        determine how the data is presented in the export. In other words, the exported table in
        the resulting XHTML will look just like the results table.
        """
        colnames, rows = self._get_export_data()
        export_path = export.export_to_xhtml(colnames, rows)
        desktop.open_path(export_path)
Beispiel #5
0
 def openDebugLogTriggered(self):
     debugLogPath = op.join(self.model.appdata, 'debug.log')
     desktop.open_path(debugLogPath)
Beispiel #6
0
 def openDebugLogTriggered(self):
     debugLogPath = op.join(self.model.appdata, 'debug.log')
     desktop.open_path(debugLogPath)
Beispiel #7
0
 def openDebugLogTriggered(self):
     debug_log_path = op.join(self.model.appdata, "debug.log")
     desktop.open_path(debug_log_path)