# HG changeset patch # User Jeffrey Connelly # Date 1188796652 0 # Node ID dd4b1dc8a0cec316e243b1ee7152949e24eeeac9 # Parent d6802883e96e1a6b6c99a01218eaaac248f3fd8b# Parent de0ae9a3eee2d6b5c801a6e5f56127750f314f43 merge of '037dd557f9293f0488bb536ed85c24acddad6553' and '384f42f64ff505bcf56a860f6b79a6bf44cc1304' diff -r d6802883e96e -r dd4b1dc8a0ce pidgin/gtkblist.c --- a/pidgin/gtkblist.c Mon Sep 03 05:16:36 2007 +0000 +++ b/pidgin/gtkblist.c Mon Sep 03 05:17:32 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",