diff options
-rw-r--r-- | src/empathy-event-manager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 7bad8682a..00f958304 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -685,6 +685,7 @@ event_room_channel_process_func (EventPriv *event) { GtkWidget *dialog, *button, *image; TpChannel *channel = event->approval->main_channel; + gchar *title; if (event->approval->dialog != NULL) { @@ -696,6 +697,12 @@ event_room_channel_process_func (EventPriv *event) dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, _("Room invitation")); + title = g_strdup_printf (_("Invitation to join %s"), + tp_channel_get_identifier (channel)); + + gtk_window_set_title (GTK_WINDOW (dialog), title); + g_free (title); + gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), _("%s is inviting you to join %s"), empathy_contact_get_name (event->approval->contact), |