Mercurial > pidgin.yaz
diff pidgin/gtkblist.c @ 18032:fbebe15c91a7
propagate from branch 'im.pidgin.pidgin' (head bdd3cb040100fe925456b862d03cc6c5a61648ef)
to branch 'im.pidgin.pidgin.2.1.0' (head d848f911176cfb2100a9f60b1d6bacdfe86e956e)
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 02 Jun 2007 13:09:49 +0000 |
parents | 45178b7e580d 92e27556160c |
children | 678d78b7fa34 6b7b13adb9b1 |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Sat Jun 02 06:26:24 2007 +0000 +++ b/pidgin/gtkblist.c Sat Jun 02 13:09:49 2007 +0000 @@ -4208,7 +4208,7 @@ {"application/x-im-contact", 0, DRAG_BUDDY}, {"text/x-vcard", 0, DRAG_VCARD }}; if (gtkblist && gtkblist->window) { - purple_blist_set_visible(purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/list_visible")); + purple_blist_set_visible(TRUE); return; } @@ -4217,9 +4217,7 @@ gtkblist->empty_avatar = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, 32, 32); gdk_pixbuf_fill(gtkblist->empty_avatar, 0x00000000); - gtkblist->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_role(GTK_WINDOW(gtkblist->window), "buddy_list"); - gtk_window_set_title(GTK_WINDOW(gtkblist->window), _("Buddy List")); + gtkblist->window = pidgin_create_window(_("Buddy List"), 0, "buddy_list", TRUE); g_signal_connect(G_OBJECT(gtkblist->window), "focus-in-event", G_CALLBACK(blist_focus_cb), gtkblist); GTK_WINDOW(gtkblist->window)->allow_shrink = TRUE;