changeset 26148:cd720cb4b47c

Set media window title to screenname.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Fri, 30 Jan 2009 08:09:20 +0000
parents 09386489e6d1
children a6e53d23bcbb
files pidgin/gtkmedia.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmedia.c	Fri Jan 30 07:59:37 2009 +0000
+++ b/pidgin/gtkmedia.c	Fri Jan 30 08:09:20 2009 +0000
@@ -641,6 +641,8 @@
 			if (media->priv->screenname)
 				g_free(media->priv->screenname);
 			media->priv->screenname = g_value_dup_string(value);
+			gtk_window_set_title(GTK_WINDOW(media),
+					media->priv->screenname);
 			break;
 		case PROP_SEND_LEVEL:
 			if (media->priv->send_level)