From 9eaf13ca3904e586d78866babf68e30c28c67b0d Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Apr 2008 15:47:03 +0000 Subject: Comply to HIG guidelines. Fixes bug #526926 (Elliot Fairweather, Xavier Claessens) svn path=/trunk/; revision=1037 --- src/empathy-call-window.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/empathy-call-window.c') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index bd052d2af..0585a9b21 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -267,13 +267,16 @@ call_window_delete_event_cb (GtkWidget *widget, { dialog = gtk_message_dialog_new (GTK_WINDOW (window->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, - "This call will be ended. Continue?"); + GTK_MESSAGE_WARNING, GTK_BUTTONS_CANCEL, _("End this call?")); + gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), + _("This window has running call. Closing the window will end it.")); + gtk_dialog_add_button (GTK_DIALOG (dialog), _("_End Call"), GTK_RESPONSE_OK); + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); result = gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); - if (result != GTK_RESPONSE_YES) + if (result != GTK_RESPONSE_OK) return TRUE; } -- cgit v1.2.3