def show_yelp(widget): #import os #os.system("yelp /usr/share/gnome/help/lybniz/C/lybniz-manual.xml") try: gnome.help_display("lybniz") except: print _("Can't Show help")
def _onHelp(self, action): ''' Shows the help dialog. @param widget: The widget that emitted the signal that this callback caught. @type widget: L{gtk.Widget} ''' gnome.help_display('accerciser.xml')
def help(target): try: import gnome gnome.help_display('gramps', target) except: # FIXME: as manual translations appear online, this needs to # become more complex to directo to the correct language url(const.url_manual + 'en/')
def help(target): try: import gnome gnome.help_display('gramps',target) except: # FIXME: as manual translations appear online, this needs to # become more complex to directo to the correct language url(const.url_manual+'en/')
def on_documentation (self, *args): import gobject try: gnome.help_display ('pyblio', None) except gobject.GError, msg: self.w.error (_("Can't display documentation:\n%s") % msg)
def display_help(help_id=None): try: if help_id != None: gnome.help_display('package-manager', link_id=help_id) else: gnome.help_display('package-manager') except gobject.GError, ex: msg = str(ex) logger.error(msg)
def _show_help(): try: import gnome except: print "You need python gnome module to use this help." return p = {gnome.PARAM_APP_DATADIR: '/usr/share'} gnome.program_init("ibus-xkbc", '1.0', properties=p) gnome.help_display("ibus-xkbc")
def _show_help(): try: import gnome except: print "You need python gnome module to use this help." return p = { gnome.PARAM_APP_DATADIR : '/usr/share' } gnome.program_init("ibus-xkbc", '1.0', properties=p) gnome.help_display("ibus-xkbc")
def help_docs(window): """Shell out to display help documents.""" import platform if platform.system() == 'Windows': # shell out to explorer... pass else: import gnome props = {gnome.PARAM_APP_DATADIR: DB_PATH} prog = gnome.program_init('SCBdo', VERSION, properties=props) gnome.help_display('SCBdo')
def help_docs(window): """Shell out to display help documents.""" import platform if platform.system() == 'Windows': # shell out to explorer... pass else: import gnome props = {gnome.PARAM_APP_DATADIR:DB_PATH} prog = gnome.program_init('SCBdo', VERSION, properties=props) gnome.help_display('SCBdo')
def on_plugins_window_response(self, dialog, response): if response == gtk.RESPONSE_DELETE_EVENT or response == gtk.RESPONSE_CLOSE: dialog.destroy() glipper.GCONF_CLIENT.notify_remove(self.autostart_plugins_notify) for plugin in self.temp_plugins: if not plugins_manager.get_started(plugin.get_file_name()): plugin.remove_module() PluginsWindow.__instance = None elif response == 1: treeview, iter = self.plugins_list.get_selection().get_selected() file_name = self.plugins_list_model.get_value(iter, self.FILE_NAME_COLUMN) plugin = Plugin(file_name) self.temp_plugins.append(plugin) plugin.call('on_show_preferences', self.plugins_window) elif response == gtk.RESPONSE_HELP: gnome.help_display('glipper', 'plugins')
def on_plugins_window_response(self, dialog, response): if response == gtk.RESPONSE_DELETE_EVENT or response == gtk.RESPONSE_CLOSE: dialog.destroy() glipper.GCONF_CLIENT.notify_remove(self.autostart_plugins_notify) for plugin in self.temp_plugins: if not plugins_manager.get_started(plugin.get_file_name()): plugin.remove_module() PluginsWindow.__instance = None elif response == 1: treeview, iter = self.plugins_list.get_selection().get_selected() file_name = self.plugins_list_model.get_value( iter, self.FILE_NAME_COLUMN) plugin = Plugin(file_name) self.temp_plugins.append(plugin) plugin.call('on_show_preferences', self.plugins_window) elif response == gtk.RESPONSE_HELP: gnome.help_display('glipper', 'plugins')
def on_gnomoireUserManual_activate(self, *arg, **kw): gnome.help_display('Overview.html')
def show_help_clicked(self, arg): try: gnome.help_display('labyrinth') except GObject.GError, e: print _('Unable to display help: %s') % str(e)
def on_help (self, component, verb): gnome.help_display('glipper')
def on_help_button_clicked(self, button): gnome.help_display('glipper', 'preferences')
def on_help(self): gnome.help_display('backintime')
def on_help( self ): gnome.help_display('backintime')
def on_grimoireProgrammingManual_activate(self, *arg, **kw): gnome.help_display('Overview.html')