[seahorse] Add the action group items after the translation domain is set. This will make them appear actually



commit e78bee809c39eb8bde59711e260c5364179b73ba
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Mon Jul 22 00:57:10 2013 +0200

    Add the action group items after the translation domain is set.
    This will make them appear actually translated.

 pkcs11/seahorse-pkcs11-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/seahorse-pkcs11-properties.c b/pkcs11/seahorse-pkcs11-properties.c
index a8efa84..00db96e 100644
--- a/pkcs11/seahorse-pkcs11-properties.c
+++ b/pkcs11/seahorse-pkcs11-properties.c
@@ -314,8 +314,8 @@ seahorse_pkcs11_properties_constructed (GObject *obj)
        G_OBJECT_CLASS (seahorse_pkcs11_properties_parent_class)->constructed (obj);
 
        self->actions = gtk_action_group_new ("Pkcs11Actions");
-       gtk_action_group_add_actions (self->actions, UI_ACTIONS, G_N_ELEMENTS (UI_ACTIONS), self);
        gtk_action_group_set_translation_domain (self->actions, GETTEXT_PACKAGE);
+       gtk_action_group_add_actions (self->actions, UI_ACTIONS, G_N_ELEMENTS (UI_ACTIONS), self);
        action = gtk_action_group_get_action (self->actions, "delete-object");
        g_object_bind_property (self->object, "deletable", action, "sensitive", G_BINDING_SYNC_CREATE);
        action = gtk_action_group_get_action (self->actions, "export-object");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]