empathy r1161 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1161 - trunk/src
- Date: Fri, 13 Jun 2008 11:13:47 +0000 (UTC)
Author: xclaesse
Date: Fri Jun 13 11:13:47 2008
New Revision: 1161
URL: http://svn.gnome.org/viewvc/empathy?rev=1161&view=rev
Log:
Better dialog message when a call is rejected (Alban Crequy)
Example: "Incoming call from xxx rejected because there is already a
running call."
Modified:
trunk/src/empathy-call-window.c
Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c (original)
+++ trunk/src/empathy-call-window.c Fri Jun 13 11:13:47 2008
@@ -494,6 +494,10 @@
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 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]