diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-09-06 00:50:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-09-06 00:50:01 +0800 |
commit | 73d28bcf0b72658c77272b01a1c338f8c0fe7662 (patch) | |
tree | c7942c691b5f553d71f987559da5a33e0fe900e9 /src | |
parent | ac762623eea794b629452b1625835f97b02234c9 (diff) | |
download | gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.tar gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.tar.gz gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.tar.bz2 gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.tar.lz gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.tar.xz gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.tar.zst gsoc2013-epiphany-73d28bcf0b72658c77272b01a1c338f8c0fe7662.zip |
Use gtk_action_group_set_translation_domain() to restore menu and popup
2003-09-05 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
* src/ephy-history-window.c: (ephy_history_window_construct):
* src/ephy-window.c: (setup_window):
* src/ppview-toolbar.c: (ppview_toolbar_set_window):
Use gtk_action_group_set_translation_domain() to restore menu and popup
i18n.
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 1 | ||||
-rw-r--r-- | src/ephy-history-window.c | 1 | ||||
-rw-r--r-- | src/ephy-window.c | 2 | ||||
-rwxr-xr-x | src/ppview-toolbar.c | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 039b6aff1..67eb6d491 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1225,6 +1225,7 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor) ui_merge = gtk_ui_manager_new (); g_signal_connect (ui_merge, "add_widget", G_CALLBACK (add_widget), editor); action_group = gtk_action_group_new ("PopupActions"); + gtk_action_group_set_translation_domain (action_group, NULL); gtk_action_group_add_actions (action_group, ephy_bookmark_popup_entries, ephy_bookmark_popup_n_entries, editor); gtk_ui_manager_insert_action_group (ui_merge, diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 711a93332..7df319818 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -963,6 +963,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor) gtk_window_add_accel_group (GTK_WINDOW (editor), gtk_ui_manager_get_accel_group (ui_merge)); action_group = gtk_action_group_new ("PopupActions"); + gtk_action_group_set_translation_domain (action_group, NULL); gtk_action_group_add_actions (action_group, ephy_history_ui_entries, ephy_history_ui_n_entries, editor); gtk_ui_manager_insert_action_group (ui_merge, diff --git a/src/ephy-window.c b/src/ephy-window.c index 661e695c3..29e6cdd9c 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -602,6 +602,7 @@ setup_window (EphyWindow *window) merge = gtk_ui_manager_new (); action_group = gtk_action_group_new ("WindowActions"); + gtk_action_group_set_translation_domain (action_group, NULL); gtk_action_group_add_actions (action_group, ephy_menu_entries, ephy_menu_n_entries, window); gtk_ui_manager_insert_action_group (merge, action_group, 0); @@ -627,6 +628,7 @@ setup_window (EphyWindow *window) g_object_set (action, "is_important", TRUE, NULL); action_group = gtk_action_group_new ("PopupsActions"); + gtk_action_group_set_translation_domain (action_group, NULL); gtk_action_group_add_actions (action_group, ephy_popups_entries, ephy_popups_n_entries, window); gtk_ui_manager_insert_action_group (merge, action_group, 0); diff --git a/src/ppview-toolbar.c b/src/ppview-toolbar.c index 1f7c2c224..a9e303afd 100755 --- a/src/ppview-toolbar.c +++ b/src/ppview-toolbar.c @@ -244,6 +244,7 @@ ppview_toolbar_set_window (PPViewToolbar *t, EphyWindow *window) t->priv->original_mask = ephy_window_get_chrome (window); t->priv->action_group = gtk_action_group_new ("PPViewActions"); + gtk_action_group_set_translation_domain (t->priv->action_group, NULL); gtk_action_group_add_actions (t->priv->action_group, entries, n_entries, t); gtk_ui_manager_insert_action_group (t->priv->ui_merge, |