Skip to content
Snippets Groups Projects
Commit 202147c1 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Remove confirmatiom message when clearing history

parent 6d0544b0
Branches
Tags
No related merge requests found
......@@ -37,7 +37,6 @@ GtkWidget * newCallMenu;
GtkWidget * holdMenu;
GtkWidget * copyMenu;
GtkWidget * pasteMenu;
GtkWidget * clearhistoryMenu;
guint holdConnId; //The hold_menu signal connection ID
......@@ -507,20 +506,9 @@ clear_history( void* foo )
gtk_widget_destroy (GTK_WIDGET(dialog));
}
else{
markup = g_markup_printf_escaped(_("Clear the call history?"));
dialog = gtk_message_dialog_new_with_markup ( GTK_WINDOW(get_main_window()),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_YES_NO,
markup);
response = gtk_dialog_run (GTK_DIALOG(dialog));
gtk_widget_destroy (GTK_WIDGET(dialog));
if (response == GTK_RESPONSE_YES)
{
call_list_clean_history();
}
}
}
GtkWidget *
create_edit_menu()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment