Skip to content
Snippets Groups Projects
Commit 67d9d9c4 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#6065: Fix "transfert" typo

parent 081f9fc0
Branches
Tags
No related merge requests found
......@@ -430,10 +430,10 @@ void calltree_display_call_info (callable_obj_t * c, CallDisplayType display_typ
case DISPLAY_TYPE_CALL_TRANSFER:
if (g_strcmp0 ("",c->_peer_name) == 0) {
description = g_markup_printf_escaped ("<b>%s</b><i>%s</i>\n<i>Transfert to:%s</i> ",
description = g_markup_printf_escaped ("<b>%s</b><i>%s</i>\n<i>Transfer to:%s</i> ",
display_number, c->_peer_name, c->_trsft_to);
} else {
description = g_markup_printf_escaped ("<b>%s</b> <i>%s</i>\n<i>Transfert to:%s</i> ",
description = g_markup_printf_escaped ("<b>%s</b> <i>%s</i>\n<i>Transfer to:%s</i> ",
c->_peer_name, display_number, c->_trsft_to);
}
DEBUG ("CallTree: Display a call transfer, description: %s", description);
......
......@@ -861,7 +861,7 @@ clear_history (void)
}
/**
* Transfert the line
* Transfer the line
*/
static void
call_transfer_cb()
......@@ -984,9 +984,11 @@ uimanager_new (GtkUIManager **_ui_manager)
gchar *path;
guint manager_id = 0;
GError *error = NULL;
gint nb_entries;
gint nb_entries, nb_menu_entries;
nb_entries = abookfactory_is_addressbook_loaded() ? 7 : 6;
nb_menu_entries = abookfactory_is_addressbook_loaded() ? 7 : 6;
window = get_main_window();
ui_manager = gtk_ui_manager_new();
......@@ -1020,6 +1022,7 @@ uimanager_new (GtkUIManager **_ui_manager)
}
if(abookfactory_is_addressbook_loaded()) {
// This action must be loaded dynamically and is not specified in the xml description
gtk_ui_manager_add_ui(ui_manager, manager_id, "/ToolbarActions",
"AddressbookToolbar",
"Addressbook",
......@@ -1029,6 +1032,8 @@ uimanager_new (GtkUIManager **_ui_manager)
action_group = gtk_action_group_new ("SFLphoneWindowActions");
// To translate label and tooltip entries
gtk_action_group_set_translation_domain (action_group, "sflphone-client-gnome");
// gtk_action_group_add_actions(action_group, menu_entries, 6, window);
DEBUG("------------------------- menu nb element %d", G_N_ELEMENTS(menu_entries));
gtk_action_group_add_actions (action_group, menu_entries, G_N_ELEMENTS (menu_entries), window);
gtk_action_group_add_toggle_actions (action_group, toggle_menu_entries, nb_entries, window);
//gtk_action_group_add_radio_actions (action_group, radio_menu_entries, G_N_ELEMENTS (radio_menu_entries), CALLTREE_CALLS, G_CALLBACK (calltree_switch_cb), window);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment