/** * Start a browser processus with local copy of the translation page * on command line. * * \return FALSE */ gboolean help_translation ( void ) { gchar *lang = _("en"); gchar* tmpstr = g_build_filename ( HELP_PATH, lang, "translation.html", NULL ); lance_navigateur_web ( tmpstr ); g_free ( tmpstr ); return FALSE; }
/** * Start a browser processus with local copy of the quick start page * on command line. * * \return FALSE */ gboolean help_quick_start ( void ) { gchar *lang = _("en"); gchar* tmpstr = g_build_filename ( HELP_PATH, lang, "quickstart.html", NULL ); lance_navigateur_web ( tmpstr ); g_free ( tmpstr ); return FALSE; }
/** * Start a browser processus with local copy of manual on command * line. * * \return FALSE */ gboolean help_manual ( void ) { gchar *lang = _("en"); gchar *string; string = g_build_filename ( HELP_PATH, lang, "manual.html", NULL ); if (g_file_test ( string, G_FILE_TEST_EXISTS )) { lance_navigateur_web (string); g_free (string); } else { g_free (string); string = g_build_filename ( HELP_PATH, lang, "grisbi-manuel.html", NULL ); lance_navigateur_web (string); g_free (string); } return FALSE; }
/** * Handler used to lauch a mailer or browser when user clicked on a link in * the GtkAboutDialog. * * \param label link that triggered the event. * \param uri URL to display. * \param data Not used. */ static gboolean url_clicked ( GtkAboutDialog *label, gchar *uri, gpointer user_data ) { if ( g_str_has_prefix ( uri, "mailto:" ) ) { gchar *str; str = gsb_string_remplace_string ( uri, "%40", "@" ); lance_mailer ( str ); g_free ( str ); } else lance_navigateur_web ( uri ); return TRUE; }
/** * Start a browser processus with Grisbi bug report page displayed. * * \return FALSE */ gboolean help_bugreport ( void ) { lance_navigateur_web ( "http://www.grisbi.org/bugtracking/" ); return FALSE; }
/** * Start a browser processus with Grisbi website displayed. * * \return FALSE */ gboolean help_website ( void ) { lance_navigateur_web ( "http://www.grisbi.org/" ); return FALSE; }