changeset 19569:60fc9cadbd92

merge of 'cd71f91b5fe6c870cf2154b4e37ace6427cb7802' and 'fc7b329c758e94b54f8d6107c2fedaefd9b6f8d4'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 02 Sep 2007 00:05:55 +0000
parents b99a158ea85e (current diff) 7c1a6a900245 (diff)
children de0ae9a3eee2
files pidgin/gtkblist.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun Sep 02 00:03:43 2007 +0000
+++ b/pidgin/gtkblist.c	Sun Sep 02 00:05:55 2007 +0000
@@ -2622,6 +2622,7 @@
 	struct _pidgin_blist_node *gtknode;
 	GdkRectangle mon_size;
 	int sig;
+	const char *name;
 	
 	if (node == NULL)
 		return;
@@ -2679,8 +2680,9 @@
 
 	gtknode = node->ui_data;
 
+	name = gtk_window_get_title(GTK_WINDOW(gtk_widget_get_toplevel(widget)));
 	gtk_widget_set_app_paintable(gtkblist->tipwindow, TRUE);
-	gtk_window_set_title(GTK_WINDOW(gtkblist->tipwindow), _("Buddy List"));
+	gtk_window_set_title(GTK_WINDOW(gtkblist->tipwindow), name ? name : _("Buddy List"));
 	gtk_window_set_resizable(GTK_WINDOW(gtkblist->tipwindow), FALSE);
 	gtk_widget_set_name(gtkblist->tipwindow, "gtk-tooltips");
 	g_signal_connect(G_OBJECT(gtkblist->tipwindow), "expose_event",