After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340260 - Keymanager does not show menu entries with i18N-lize.
Keymanager does not show menu entries with i18N-lize.
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: 1.0.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2006-05-01 09:05 UTC by Takeshi AIHANA
Modified: 2006-05-01 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
my workaround to show i18N-lize menu entries in keymanager. (3.51 KB, patch)
2006-05-01 09:06 UTC, Takeshi AIHANA
committed Details | Review

Description Takeshi AIHANA 2006-05-01 09:05:01 UTC
I found that the HEAD of seahorse does not show menu entries with my locale (Japanese).
The keymanager in seahorse has used GtkActionEntry to build menu ui_entries, howerver, it seems to be lost gtk_action_group_set_translation_domain() to them:

seahorse-key-manager.c:1022
    /* General normal actions */
    actions = gtk_action_group_new ("main");
    gtk_action_group_add_actions (actions, ui_entries,
                                  G_N_ELEMENTS (ui_entries), swidget);
    seahorse_widget_add_actions (swidget, actions);
should be 
    /* General normal actions */
    actions = gtk_action_group_new ("main");
    gtk_action_group_set_translation_domain (actions, NULL);
    gtk_action_group_add_actions (actions, ui_entries,
                                  G_N_ELEMENTS (ui_entries), swidget);
    seahorse_widget_add_actions (swidget, actions);

Here is my workaround as one patch.

I'm not sure what version of seahorse has this issue from, maybe v0.8.x branch  has also.
Comment 1 Takeshi AIHANA 2006-05-01 09:06:18 UTC
Created attachment 64599 [details] [review]
my workaround to show i18N-lize menu entries in keymanager.
Comment 2 Stef Walter 2006-05-01 14:39:26 UTC
Thanks. I've applied fixes to HEAD and seahorse-0-8 branches.