From f40cf0ff1690879c6e8f3eec25d203d23777fa80 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 29 Apr 2009 10:58:45 +0100 Subject: empathy_call_window_constructed: set default title if the call handler doesn't have a contact --- src/empathy-call-window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 46210640c..a0de80082 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -617,6 +617,11 @@ empathy_call_window_constructed (GObject *object) g_signal_connect (priv->contact, "notify::name", G_CALLBACK (contact_name_changed_cb), self); } + else + { + g_warning ("call handler doesn't have a contact"); + gtk_window_set_title (GTK_WINDOW (self), _("Call")); + } } static void empathy_call_window_dispose (GObject *object); -- cgit v1.2.3