예제 #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)