diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-13 19:13:47 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-06-13 19:13:47 +0800 |
commit | 0622581d232de8d2eb6da3fdf6ff209b38e52ddf (patch) | |
tree | dbc5092d329af0456c03d21f75ce144b6ec4e6c6 /src/empathy-call-window.c | |
parent | a522668fe62f6369749f79f3348ad811e23187b7 (diff) | |
download | gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.tar gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.tar.gz gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.tar.bz2 gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.tar.lz gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.tar.xz gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.tar.zst gsoc2013-empathy-0622581d232de8d2eb6da3fdf6ff209b38e52ddf.zip |
Better dialog message when a call is rejected (Alban Crequy)
Example: "Incoming call from xxx rejected because there is already a
running call."
svn path=/trunk/; revision=1161
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r-- | src/empathy-call-window.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 75a076291..67a3d87a8 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -494,6 +494,10 @@ empathy_call_window_new (TpChannel *channel) else { GtkWidget *dialog; + EmpathyContact *contact; + g_object_get (window->call, + "contact", &contact, + NULL); /* We don't want to have multiple calls running. * FIXME: We should use the hold interface... */ @@ -501,7 +505,7 @@ empathy_call_window_new (TpChannel *channel) dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, - _("Call rejected because there is already a running call.")); + _("Incoming call from %s rejected because there is already a running call."), empathy_contact_get_name (contact)); g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL); gtk_widget_show (dialog); |