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

#6109: Fix GTK_CRITICAL warning

parent 6651aabf
Branches
Tags
No related merge requests found
......@@ -102,7 +102,6 @@ update_actions()
DEBUG ("UIManager: Update action");
gtk_action_set_sensitive (GTK_ACTION (newCallAction), TRUE);
gtk_action_set_sensitive (GTK_ACTION (pickUpAction), FALSE);
gtk_action_set_sensitive (GTK_ACTION (hangUpAction), FALSE);
......@@ -270,10 +269,11 @@ update_actions()
if (active_calltree == current_calls)
gtk_action_set_sensitive (GTK_ACTION (hangUpAction), TRUE);
if (active_calltree == current_calls)
if (active_calltree == history) {
gtk_action_set_sensitive (GTK_ACTION(playRecordAction), TRUE);
gtk_action_set_sensitive (GTK_ACTION(stopRecordAction), TRUE);
}
//gtk_action_set_sensitive( GTK_ACTION(newCallMenu),TRUE);
g_object_ref (newCallWidget);
gtk_container_remove (GTK_CONTAINER (toolbar), GTK_WIDGET (newCallWidget));
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM (pickUpWidget), 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment