Ejemplo n.º 1
0
    def run(self, params):
        helpDirName = u"help"

        currentdir = os.path.dirname(__file__)
        helpPath = os.path.join(currentdir, helpDirName, _("datagraph_eng"))

        args = [u'--normal', u'--readonly']
        openInNewWindow(helpPath, args)
Ejemplo n.º 2
0
    def run (self, params):
        encoding = getOS().filesEncoding
        helpDirName = u"help"
        currentdir = unicode(os.path.dirname (__file__), encoding)

        helpPath = os.path.join(currentdir, helpDirName, _("datagraph_eng"))

        args = [u'--normal', u'--readonly']
        openInNewWindow(helpPath, args)
Ejemplo n.º 3
0
    def run(self, params):
        encoding = getOS().filesEncoding
        helpDirName = u"help"
        currentdir = unicode(os.path.dirname(__file__), encoding)

        helpPath = os.path.join(currentdir, helpDirName, _("datagraph_eng"))

        args = [u'--normal', u'--readonly']
        openInNewWindow(helpPath, args)
Ejemplo n.º 4
0
    def run (self, params):
        help_dir = u"help"
        current_help = _("help_en")
        path = os.path.join (getCurrentDir(),
                             help_dir,
                             current_help)

        args = [u'--normal', u'--readonly']
        openInNewWindow (path, args)
Ejemplo n.º 5
0
    def run(self, params):
        help_dir = u"help"
        current_help = _("help_en")
        path = os.path.join(getCurrentDir(), help_dir, current_help)

        args = [u'--normal', u'--readonly']
        if params is not None:
            args.append(u'-p')
            args.append(params.pagelink)

        openInNewWindow(path, args)
Ejemplo n.º 6
0
    def run(self, params):
        help_dir = u"help"
        current_help = _("help_en")
        path = os.path.join(getCurrentDir(),
                            help_dir,
                            current_help)

        args = [u'--normal', u'--readonly']
        if params is not None:
            args.append(u'-p')
            args.append(params.pagelink)

        openInNewWindow(path, args)
Ejemplo n.º 7
0
    def run(self, params):
        help_dir = u"help"
        current_help = _("help_en")
        path = os.path.join(getCurrentDir(), help_dir, current_help)

        openInNewWindow(path, readonly=True)
Ejemplo n.º 8
0
    def run(self, params):
        help_dir = u"help"
        current_help = _("help_en")
        path = os.path.join(getCurrentDir(), help_dir, current_help)

        openInNewWindow(path, readonly=True)