gtranslator r3836 - in trunk: . src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3836 - in trunk: . src
- Date: Sun, 19 Oct 2008 10:20:44 +0000 (UTC)
Author: icq
Date: Sun Oct 19 10:20:44 2008
New Revision: 3836
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3836&view=rev
Log:
2008-10-19 Ignacio Casal Quinteiro <nacho resa gmail com>
* src/actions-help.c:
Now help appears localized.
Modified:
trunk/ChangeLog
trunk/src/actions-help.c
Modified: trunk/src/actions-help.c
==============================================================================
--- trunk/src/actions-help.c (original)
+++ trunk/src/actions-help.c Sun Oct 19 10:20:44 2008
@@ -37,23 +37,9 @@
gtranslator_cmd_help_contents (GtkAction *action,
GtranslatorWindow *window)
{
- GError *error = NULL;
- gboolean ret;
- GtkWidget *dialog;
-
- ret = g_app_info_launch_default_for_uri ("ghelp:gtranslator", NULL, &error);
-
- if (ret == FALSE)
- {
- dialog = gtk_message_dialog_new (GTK_WINDOW (window),
- GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
- _("Unable to open help file for gtranslator"));
-
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
- g_error_free (error);
- }
+ gtranslator_utils_help_display (GTK_WINDOW (window),
+ "gtranslator",
+ "gtranslator.xml");
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]