aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-23 23:47:03 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-23 23:47:03 +0800
commit9eaf13ca3904e586d78866babf68e30c28c67b0d (patch)
tree67566f04adf18d912141f013d81bb74aab9f8098 /src/empathy-call-window.c
parent5844a32da8c90ffccf905fd260df8131c1560e9b (diff)
downloadgsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.tar
gsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.tar.gz
gsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.tar.bz2
gsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.tar.lz
gsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.tar.xz
gsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.tar.zst
gsoc2013-empathy-9eaf13ca3904e586d78866babf68e30c28c67b0d.zip
Comply to HIG guidelines. Fixes bug #526926 (Elliot Fairweather, Xavier Claessens)
svn path=/trunk/; revision=1037
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c9
1 files changed, 6 insertions, 3 deletions
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;
}