| 1594 gtk_widget_show_all(ret); |
1594 gtk_widget_show_all(ret); |
| 1595 g_object_unref(sg); |
1595 g_object_unref(sg); |
| 1596 return ret; |
1596 return ret; |
| 1597 } |
1597 } |
| 1598 |
1598 |
| 1599 #if GTK_CHECK_VERSION(2,4,0) |
|
| 1600 static void |
|
| 1601 pidgin_custom_font_set(GtkFontButton *font_button, gpointer nul) |
|
| 1602 { |
|
| 1603 purple_prefs_set_string(PIDGIN_PREFS_ROOT "/conversations/custom_font", |
|
| 1604 gtk_font_button_get_font_name(font_button)); |
|
| 1605 } |
|
| 1606 #endif |
|
| 1607 |
|
| 1608 static GtkWidget * |
1599 static GtkWidget * |
| 1609 conv_page(void) |
1600 conv_page(void) |
| 1610 { |
1601 { |
| 1611 GtkWidget *ret; |
1602 GtkWidget *ret; |
| 1612 GtkWidget *vbox; |
1603 GtkWidget *vbox; |
| 1613 GtkWidget *toolbar; |
1604 GtkWidget *toolbar; |
| 1614 GtkWidget *iconpref1; |
1605 GtkWidget *iconpref1; |
| 1615 GtkWidget *iconpref2; |
1606 GtkWidget *iconpref2; |
| 1616 GtkWidget *fontpref; |
|
| 1617 GtkWidget *imhtml; |
1607 GtkWidget *imhtml; |
| 1618 GtkWidget *frame; |
1608 GtkWidget *frame; |
| 1619 |
|
| 1620 #if GTK_CHECK_VERSION(2,4,0) |
|
| 1621 GtkWidget *hbox; |
|
| 1622 GtkWidget *font_button; |
|
| 1623 const char *font_name; |
|
| 1624 #endif |
|
| 1625 |
1609 |
| 1626 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); |
1610 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); |
| 1627 gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER); |
1611 gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER); |
| 1628 |
1612 |
| 1629 vbox = pidgin_make_frame(ret, _("Conversations")); |
1613 vbox = pidgin_make_frame(ret, _("Conversations")); |