コード例 #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)
コード例 #2
0
ファイル: app.py プロジェクト: silvavlis/dupeguru
 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)
コード例 #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)
コード例 #4
0
ファイル: app.py プロジェクト: silvavlis/dupeguru
    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)
コード例 #5
0
ファイル: app.py プロジェクト: pramodk-git/dupeguru
 def openDebugLogTriggered(self):
     debugLogPath = op.join(self.model.appdata, 'debug.log')
     desktop.open_path(debugLogPath)
コード例 #6
0
ファイル: app.py プロジェクト: Beyond82/dupeguru
 def openDebugLogTriggered(self):
     debugLogPath = op.join(self.model.appdata, 'debug.log')
     desktop.open_path(debugLogPath)
コード例 #7
0
ファイル: app.py プロジェクト: ssafarov/dupeguru
 def openDebugLogTriggered(self):
     debug_log_path = op.join(self.model.appdata, "debug.log")
     desktop.open_path(debug_log_path)