Logo Search packages:      
Sourcecode: uicilibris version File versions  Download package

def uicilibris::w2mMainWindow::hack (   self )
launches gnome-terminal and opens a shell in self.tmpDir

Definition at line 365 of file __init__.py.

                  :
        """
        launches gnome-terminal and opens a shell in self.tmpDir
        """
        if self.latexComp!=None:
            tmpdir=self.latexComp.tmpdir
            cmd="(cd %s; gnome-terminal --title='%s' &)" %(tmpdir, "Uici Libris Terminal (%s)" %tmpdir)
            subprocess.call(cmd, shell=True)
        else:
            QMessageBox.warning(self, "Cannot find the temporary files", "There is no temporary files. Plese run Pdflatex.")
        return


Generated by  Doxygen 1.6.0   Back to index