aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-06 18:27:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 16:45:04 +0800
commit48d289288400d52adc40a78548ba0dbaf7dea3cd (patch)
treeed4b440b56b7ebabfe1cdf769a2e76b0b001046f /src/empathy-event-manager.c
parentcc77a379d1daa6130dad17486d52808c874c62a7 (diff)
downloadgsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.tar
gsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.tar.gz
gsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.tar.bz2
gsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.tar.lz
gsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.tar.xz
gsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.tar.zst
gsoc2013-empathy-48d289288400d52adc40a78548ba0dbaf7dea3cd.zip
Add a title to the incoming call dialog
This gives a bit more context when the dialog is displayed right away.
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 490a30bc2..7bad8682a 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -454,6 +454,7 @@ event_channel_process_voip_func (EventPriv *event)
GtkWidget *image;
EmpathyTpCall *call;
gboolean video;
+ gchar *title;
if (event->approval->dialog != NULL)
{
@@ -475,6 +476,12 @@ event_channel_process_voip_func (EventPriv *event)
_("%s is calling you. Do you want to answer?"),
empathy_contact_get_name (event->approval->contact));
+ title = g_strdup_printf (_("Incoming call from %s"),
+ empathy_contact_get_name (event->approval->contact));
+
+ gtk_window_set_title (GTK_WINDOW (dialog), title);
+ g_free (title);
+
/* Set image of the dialog */
if (video)
{