From 202147c1583f427cea297e45c3ac9e5e3ab1fa97 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Wed, 4 Jun 2008 14:35:35 -0400 Subject: [PATCH] Remove confirmatiom message when clearing history --- sflphone-gtk/src/menus.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sflphone-gtk/src/menus.c b/sflphone-gtk/src/menus.c index b57721f665..3340909b65 100644 --- a/sflphone-gtk/src/menus.c +++ b/sflphone-gtk/src/menus.c @@ -37,7 +37,6 @@ GtkWidget * newCallMenu; GtkWidget * holdMenu; GtkWidget * copyMenu; GtkWidget * pasteMenu; -GtkWidget * clearhistoryMenu; guint holdConnId; //The hold_menu signal connection ID @@ -507,18 +506,7 @@ 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(); - } } } -- GitLab