Example #1
0
    def showHelp(self):
        self.Pds = pds.Pds()
        self.lang = localedata.setSystemLocale(justGet = True)
        
        if self.lang in os.listdir("/usr/share/package-manager/help"):
            pass
        else:
            self.lang = "en"

        
        if self.Pds.session == pds.Kde3 :
            os.popen("khelpcenter /usr/share/package-manager/help/%s/main_help.html" %(self.lang))
        else:
            helpdialog.HelpDialog(self,helpdialog.MAINAPP)
Example #2
0
 def showHelpDialog(self, msg):
     dlg = helpdialog.HelpDialog(self, msg)
     dlg.exec_()
Example #3
0
 def showHelp(self):
     helpDialog = helpdialog.HelpDialog(self, helpdialog.PREFERENCES)
     helpDialog.show()
Example #4
0
	def helpDialog(self):
		dialog = helpdialog.HelpDialog(self)
		dialog.exec_loop()