# HG changeset patch # User Sadrul Habib Chowdhury # Date 1181895848 0 # Node ID 74842d0ac1a750b0218c6ffec44a3e0d451953b0 # Parent 5cff2b8bfb08335ba6bccb9ca804e1a28a21adfc Show the previously selected custom font, what this is meant to do. diff -r 5cff2b8bfb08 -r 74842d0ac1a7 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Fri Jun 15 04:27:08 2007 +0000 +++ b/pidgin/gtkprefs.c Fri Jun 15 08:24:08 2007 +0000 @@ -949,7 +949,7 @@ label = gtk_label_new_with_mnemonic(_("Conversation _font:")); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); font_name = purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/custom_font"); - font_button = gtk_font_button_new_with_font(purple_prefs_get_string(font_name ? font_name : NULL)); + font_button = gtk_font_button_new_with_font(font_name ? font_name : NULL); gtk_font_button_set_show_style(GTK_FONT_BUTTON(font_button), TRUE); gtk_box_pack_start(GTK_BOX(hbox), font_button, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);