diff --git a/src/objects/window/actions/close.c b/src/objects/window/actions/close.c index 9ff9a19..a3c778a 100644 --- a/src/objects/window/actions/close.c +++ b/src/objects/window/actions/close.c @@ -52,17 +52,16 @@ GAction * pw3270_action_window_close_new(void) { - pw3270SimpleAction * action = pw3270_simple_action_new(); + V3270SimpleAction * action = v3270_simple_action_new(); action->parent.activate = activate; - action->parent.name = "close"; + action->name = "close"; action->icon_name = "window-close"; - action->label = N_("Close window"); - action->tooltip = N_("Close the window"); + action->label = _("Close window"); + action->tooltip = _("Close the window"); return G_ACTION(action); - } diff --git a/src/objects/window/actions/connect.c b/src/objects/window/actions/connect.c index d21dae5..3588b8a 100644 --- a/src/objects/window/actions/connect.c +++ b/src/objects/window/actions/connect.c @@ -47,7 +47,7 @@ pw3270SimpleAction * action = pw3270_simple_action_new_from_lib3270(lib3270_action_get_by_name("reconnect"),"connect"); action->parent.activate = activate; - action->label = N_("Connect"); + action->label = _("Connect"); action->tooltip = N_("Connect to host"); return G_ACTION(action); diff --git a/src/objects/window/actions/filetransfer.c b/src/objects/window/actions/filetransfer.c index 30c24c5..89a7efd 100644 --- a/src/objects/window/actions/filetransfer.c +++ b/src/objects/window/actions/filetransfer.c @@ -36,14 +36,14 @@ GAction * pw3270_file_transfer_action_new(void) { - pw3270SimpleAction * action = pw3270_simple_action_new(); + V3270SimpleAction * action = v3270_simple_action_new(); action->parent.activate = activate; action->group.id = LIB3270_ACTION_GROUP_ONLINE; - action->parent.name = "file.transfer"; + action->name = "file.transfer"; action->icon_name = "drive-harddisk"; - action->label = N_("Send/Receive"); - action->tooltip = N_("Send/Receive files"); + action->label = _("Send/Receive"); + action->tooltip = _("Send/Receive files"); return G_ACTION(action); -- libgit2 0.21.2