| 1446 GtkWidget *toolbar; |
1446 GtkWidget *toolbar; |
| 1447 GtkWidget *iconpref1; |
1447 GtkWidget *iconpref1; |
| 1448 GtkWidget *iconpref2; |
1448 GtkWidget *iconpref2; |
| 1449 GtkWidget *imhtml; |
1449 GtkWidget *imhtml; |
| 1450 GtkWidget *frame; |
1450 GtkWidget *frame; |
| |
1451 GtkWidget *hbox; |
| |
1452 GtkWidget *checkbox; |
| |
1453 GtkWidget *spin_button; |
| 1451 |
1454 |
| 1452 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); |
1455 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); |
| 1453 gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER); |
1456 gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER); |
| 1454 |
1457 |
| 1455 vbox = pidgin_make_frame(ret, _("Conversations")); |
1458 vbox = pidgin_make_frame(ret, _("Conversations")); |
| 1478 pidgin_prefs_checkbox(_("Use smooth-scrolling"), PIDGIN_PREFS_ROOT "/conversations/use_smooth_scrolling", vbox); |
1481 pidgin_prefs_checkbox(_("Use smooth-scrolling"), PIDGIN_PREFS_ROOT "/conversations/use_smooth_scrolling", vbox); |
| 1479 |
1482 |
| 1480 #ifdef _WIN32 |
1483 #ifdef _WIN32 |
| 1481 pidgin_prefs_checkbox(_("F_lash window when IMs are received"), PIDGIN_PREFS_ROOT "/win32/blink_im", vbox); |
1484 pidgin_prefs_checkbox(_("F_lash window when IMs are received"), PIDGIN_PREFS_ROOT "/win32/blink_im", vbox); |
| 1482 #endif |
1485 #endif |
| |
1486 hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE); |
| |
1487 |
| |
1488 checkbox = pidgin_prefs_checkbox(_("Resize incoming custom smileys"), |
| |
1489 PIDGIN_PREFS_ROOT "/conversations/resize_custom_smileys", hbox); |
| |
1490 |
| |
1491 spin_button = pidgin_prefs_labeled_spin_button(hbox, |
| |
1492 _("Maximum size:"), |
| |
1493 PIDGIN_PREFS_ROOT "/conversations/custom_smileys_size", |
| |
1494 16, 512, NULL); |
| |
1495 |
| |
1496 if (!purple_prefs_get_bool( |
| |
1497 PIDGIN_PREFS_ROOT "/conversations/resize_custom_smileys")) |
| |
1498 gtk_widget_set_sensitive(GTK_WIDGET(spin_button), FALSE); |
| |
1499 |
| |
1500 g_signal_connect(G_OBJECT(checkbox), "clicked", |
| |
1501 G_CALLBACK(pidgin_toggle_sensitive), spin_button); |
| |
1502 |
| |
1503 pidgin_add_widget_to_vbox(GTK_BOX(vbox), NULL, NULL, hbox, TRUE, NULL); |
| 1483 |
1504 |
| 1484 pidgin_prefs_labeled_spin_button(vbox, |
1505 pidgin_prefs_labeled_spin_button(vbox, |
| 1485 _("Minimum input area height in lines:"), |
1506 _("Minimum input area height in lines:"), |
| 1486 PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines", |
1507 PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines", |
| 1487 1, 8, NULL); |
1508 1, 8, NULL); |