Skip to content
Snippets Groups Projects
Commit efdbe874 authored by Tristan Matthews's avatar Tristan Matthews
Browse files
parents 95cd5905 b32c6f25
Branches
Tags
No related merge requests found
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
<menuitem action="VolumeControls"/> <menuitem action="VolumeControls"/>
<separator/> <separator/>
<menuitem action="History"/> <menuitem action="History"/>
<menuitem action="Addressbook"/>
</menu> </menu>
<menu name="HelpMenu" action="Help"> <menu name="HelpMenu" action="Help">
...@@ -55,7 +54,6 @@ ...@@ -55,7 +54,6 @@
<separator/> <separator/>
<toolitem name="VoicemailToolbar" action="Voicemail"/> <toolitem name="VoicemailToolbar" action="Voicemail"/>
<toolitem name="HistoryToolbar" action="History"/> <toolitem name="HistoryToolbar" action="History"/>
<!-- <toolitem name="AddressbookToolbar" action="Addressbook"/> -->
</toolbar> </toolbar>
<popup name="PopupMenu"> <popup name="PopupMenu">
......
...@@ -1022,7 +1022,11 @@ uimanager_new (GtkUIManager **_ui_manager) ...@@ -1022,7 +1022,11 @@ uimanager_new (GtkUIManager **_ui_manager)
} }
if(abookfactory_is_addressbook_loaded()) { if(abookfactory_is_addressbook_loaded()) {
// This action must be loaded dynamically and is not specified in the xml description // These actions must be loaded dynamically and is not specified in the xml description
gtk_ui_manager_add_ui(ui_manager, manager_id, "/ViewMenu",
NULL,
"Addressbook",
GTK_UI_MANAGER_MENUITEM, FALSE);
gtk_ui_manager_add_ui(ui_manager, manager_id, "/ToolbarActions", gtk_ui_manager_add_ui(ui_manager, manager_id, "/ToolbarActions",
"AddressbookToolbar", "AddressbookToolbar",
"Addressbook", "Addressbook",
...@@ -1032,8 +1036,6 @@ uimanager_new (GtkUIManager **_ui_manager) ...@@ -1032,8 +1036,6 @@ uimanager_new (GtkUIManager **_ui_manager)
action_group = gtk_action_group_new ("SFLphoneWindowActions"); action_group = gtk_action_group_new ("SFLphoneWindowActions");
// To translate label and tooltip entries // To translate label and tooltip entries
gtk_action_group_set_translation_domain (action_group, "sflphone-client-gnome"); 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_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_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); //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