gtkhtml r8895 - trunk/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r8895 - trunk/components/editor
- Date: Mon, 14 Jul 2008 17:29:49 +0000 (UTC)
Author: mbarnes
Date: Mon Jul 14 17:29:49 2008
New Revision: 8895
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8895&view=rev
Log:
Fussing over details.
Modified:
trunk/components/editor/gtkhtml-editor-actions.c
Modified: trunk/components/editor/gtkhtml-editor-actions.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor-actions.c (original)
+++ trunk/components/editor/gtkhtml-editor-actions.c Mon Jul 14 17:29:49 2008
@@ -2280,15 +2280,16 @@
{
GtkActionGroup *action_group;
GtkUIManager *manager;
+ const gchar *domain;
g_return_if_fail (GTKHTML_IS_EDITOR (editor));
manager = gtkhtml_editor_get_ui_manager (editor);
+ domain = GETTEXT_PACKAGE;
/* Core Actions */
action_group = editor->priv->core_actions;
- gtk_action_group_set_translation_domain (
- action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translation_domain (action_group, domain);
gtk_action_group_add_actions (
action_group, core_entries,
G_N_ELEMENTS (core_entries), editor);
@@ -2311,8 +2312,7 @@
/* Core Actions (HTML only) */
action_group = editor->priv->html_actions;
- gtk_action_group_set_translation_domain (
- action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translation_domain (action_group, domain);
gtk_action_group_add_actions (
action_group, html_entries,
G_N_ELEMENTS (html_entries), editor);
@@ -2328,8 +2328,7 @@
/* Context Menu Actions */
action_group = editor->priv->context_actions;
- gtk_action_group_set_translation_domain (
- action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translation_domain (action_group, domain);
gtk_action_group_add_actions (
action_group, context_entries,
G_N_ELEMENTS (context_entries), editor);
@@ -2337,8 +2336,7 @@
/* Context Menu Actions (HTML only) */
action_group = editor->priv->html_context_actions;
- gtk_action_group_set_translation_domain (
- action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translation_domain (action_group, domain);
gtk_action_group_add_actions (
action_group, html_context_entries,
G_N_ELEMENTS (html_context_entries), editor);
@@ -2346,8 +2344,7 @@
/* Context Menu Actions (spell check only) */
action_group = editor->priv->spell_check_actions;
- gtk_action_group_set_translation_domain (
- action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translation_domain (action_group, domain);
gtk_action_group_add_actions (
action_group, spell_context_entries,
G_N_ELEMENTS (spell_context_entries), editor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]