[empathy] empathy_call_window_constructed: set default title if the call handler doesn't have a contact
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] empathy_call_window_constructed: set default title if the call handler doesn't have a contact
- Date: Wed, 29 Apr 2009 06:56:48 -0400 (EDT)
commit f40cf0ff1690879c6e8f3eec25d203d23777fa80
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Apr 29 10:58:45 2009 +0100
empathy_call_window_constructed: set default title if the call handler doesn't have a contact
---
src/empathy-call-window.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 4621064..a0de800 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]