changeset 18102:74842d0ac1a7

Show the previously selected custom font, what this is meant to do.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 15 Jun 2007 08:24:08 +0000
parents 5cff2b8bfb08
children 7571c6440ba0
files pidgin/gtkprefs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);