Mercurial > pidgin
diff src/prefs.c @ 230:83dd297aa363
[gaim-migrate @ 240]
Added a few patches from fflewddur to add default away messages, save prefs
after deleting an away message, and *duh* *duh* *duh* *duh* presenting.....
font face selection dialog! Thanks fflewddur.
I also added a pixmap for font face to eventually go on the conversation
windows, but I didn't implement it yet.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 10 May 2000 10:56:25 +0000 |
parents | 610b7ffc4821 |
children | 985635758c33 |
line wrap: on
line diff
--- a/src/prefs.c Wed May 10 08:29:02 2000 +0000 +++ b/src/prefs.c Wed May 10 10:56:25 2000 +0000 @@ -94,7 +94,6 @@ save_prefs(); } - void set_option(GtkWidget *w, int *option) { *option = !(*option); @@ -334,12 +333,12 @@ GtkWidget *sw; GtkWidget *sw2; GtkWidget *away_page; - + GtkWidget *select_font; + GtkWidget *list_item; gchar buffer[64]; - if (!pd) pd = g_new0(struct prefs_data, 1); @@ -729,6 +728,12 @@ gaim_button("Italics Text", &font_options, OPT_FONT_ITALIC, fontbox); gaim_button("Underlined Text", &font_options, OPT_FONT_UNDERLINE, fontbox); gaim_button("Strike Text", &font_options, OPT_FONT_STRIKE, fontbox); + gaim_button("Font Face for Text", &font_options, OPT_FONT_FACE, fontbox); + + select_font = gtk_button_new_with_label("Select Font"); + gtk_box_pack_start(GTK_BOX(fontbox), select_font, FALSE, FALSE, 0); + gtk_signal_connect(GTK_OBJECT(select_font), "clicked", GTK_SIGNAL_FUNC(show_font_dialog), NULL); + gtk_widget_show(select_font); gtk_widget_show(appearance_page); gtk_widget_show(fontbox);