Mercurial > pidgin
comparison src/gtkprefs.c @ 5673:62f57ec16f29
[gaim-migrate @ 6091]
Moved GTK conversation preferences to gtkconv.c, and attached the first
callback, which shows/hides close buttons on pref change.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 02 Jun 2003 19:37:23 +0000 |
parents | d43a00b81d2a |
children | 46d7ad0dfa26 |
comparison
equal
deleted
inserted
replaced
5672:5c5678c7b900 | 5673:62f57ec16f29 |
---|---|
2744 gaim_prefs_add_int("/gaim/gtk/blist/x", 0); | 2744 gaim_prefs_add_int("/gaim/gtk/blist/x", 0); |
2745 gaim_prefs_add_int("/gaim/gtk/blist/y", 0); | 2745 gaim_prefs_add_int("/gaim/gtk/blist/y", 0); |
2746 gaim_prefs_add_int("/gaim/gtk/blist/width", 0); | 2746 gaim_prefs_add_int("/gaim/gtk/blist/width", 0); |
2747 gaim_prefs_add_int("/gaim/gtk/blist/height", 0); | 2747 gaim_prefs_add_int("/gaim/gtk/blist/height", 0); |
2748 | 2748 |
2749 /* Conversations */ | |
2750 gaim_prefs_add_none("/gaim/gtk/conversations"); | |
2751 gaim_prefs_add_bool("/gaim/gtk/conversations/close_on_tabs", TRUE); | |
2752 gaim_prefs_add_bool("/gaim/gtk/conversations/ctrl_enter_sends", FALSE); | |
2753 gaim_prefs_add_bool("/gaim/gtk/conversations/enter_sends", TRUE); | |
2754 gaim_prefs_add_bool("/gaim/gtk/conversations/escape_closes", FALSE); | |
2755 gaim_prefs_add_bool("/gaim/gtk/conversations/ctrl_w_closes", FALSE); | |
2756 gaim_prefs_add_bool("/gaim/gtk/conversations/f2_toggles_timestamps", TRUE); | |
2757 gaim_prefs_add_bool("/gaim/gtk/conversations/send_bold", FALSE); | |
2758 gaim_prefs_add_bool("/gaim/gtk/conversations/send_italic", FALSE); | |
2759 gaim_prefs_add_bool("/gaim/gtk/conversations/send_strikethrough", FALSE); | |
2760 gaim_prefs_add_bool("/gaim/gtk/conversations/send_underline", FALSE); | |
2761 gaim_prefs_add_bool("/gaim/gtk/conversations/show_smileys", TRUE); | |
2762 gaim_prefs_add_bool("/gaim/gtk/conversations/show_timestamps", TRUE); | |
2763 gaim_prefs_add_bool("/gaim/gtk/conversations/show_urls_as_links", TRUE); | |
2764 gaim_prefs_add_bool("/gaim/gtk/conversations/spellcheck", TRUE); | |
2765 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_colors", FALSE); | |
2766 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_fonts", FALSE); | |
2767 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_font_sizes", FALSE); | |
2768 gaim_prefs_add_bool("/gaim/gtk/conversations/use_custom_bgcolor", FALSE); | |
2769 gaim_prefs_add_bool("/gaim/gtk/conversations/use_custom_fgcolor", FALSE); | |
2770 gaim_prefs_add_bool("/gaim/gtk/conversations/use_custom_font", FALSE); | |
2771 gaim_prefs_add_bool("/gaim/gtk/conversations/use_custom_size", FALSE); | |
2772 gaim_prefs_add_bool("/gaim/gtk/conversations/html_shortcuts", FALSE); | |
2773 gaim_prefs_add_bool("/gaim/gtk/conversations/smiley_shortcuts", FALSE); | |
2774 gaim_prefs_add_string("/gaim/gtk/conversations/bgcolor", "#FFFFFF"); | |
2775 gaim_prefs_add_string("/gaim/gtk/conversations/fgcolor", "#000000"); | |
2776 gaim_prefs_add_string("/gaim/gtk/conversations/font_face", ""); | |
2777 gaim_prefs_add_int("/gaim/gtk/conversations/font_size", 3); | |
2778 gaim_prefs_add_bool("/gaim/gtk/conversations/tabs", TRUE); | |
2779 gaim_prefs_add_int("/gaim/gtk/conversations/tab_side", GTK_POS_TOP); | |
2780 gaim_prefs_add_string("/gaim/gtk/conversations/placement", ""); | |
2781 | |
2782 /* Conversations -> Chat */ | |
2783 gaim_prefs_add_none("/gaim/gtk/conversations/chat"); | |
2784 gaim_prefs_add_int("/gaim/gtk/conversations/chat/button_type", | |
2785 GAIM_BUTTON_TEXT_IMAGE); | |
2786 gaim_prefs_add_bool("/gaim/gtk/conversations/chat/color_nicks", TRUE); | |
2787 gaim_prefs_add_bool("/gaim/gtk/conversations/chat/old_tab_complete", FALSE); | |
2788 gaim_prefs_add_bool("/gaim/gtk/conversations/chat/raise_on_events", FALSE); | |
2789 gaim_prefs_add_bool("/gaim/gtk/conversations/chat/tab_completion", TRUE); | |
2790 gaim_prefs_add_int("/gaim/gtk/conversations/chat/default_width", 410); | |
2791 gaim_prefs_add_int("/gaim/gtk/conversations/chat/default_height", 160); | |
2792 gaim_prefs_add_int("/gaim/gtk/conversations/chat/entry_height", 50); | |
2793 | |
2794 /* Conversations -> IM */ | |
2795 gaim_prefs_add_none("/gaim/gtk/conversations/im"); | |
2796 gaim_prefs_add_int("/gaim/gtk/conversations/im/button_type", | |
2797 GAIM_BUTTON_TEXT_IMAGE); | |
2798 gaim_prefs_add_bool("/gaim/gtk/conversations/im/animate_buddy_icons", TRUE); | |
2799 gaim_prefs_add_bool("/gaim/gtk/conversations/im/hide_on_send", FALSE); | |
2800 gaim_prefs_add_bool("/gaim/gtk/conversations/im/raise_on_events", FALSE); | |
2801 gaim_prefs_add_bool("/gaim/gtk/conversations/im/show_buddy_icons", TRUE); | |
2802 gaim_prefs_add_int("/gaim/gtk/conversations/im/default_width", 410); | |
2803 gaim_prefs_add_int("/gaim/gtk/conversations/im/default_height", 160); | |
2804 gaim_prefs_add_int("/gaim/gtk/conversations/im/entry_height", 50); | |
2805 | |
2806 /* Debug window preferences. */ | 2749 /* Debug window preferences. */ |
2807 /* | 2750 /* |
2808 * NOTE: This must be set before prefs are loaded, and the callbacks | 2751 * NOTE: This must be set before prefs are loaded, and the callbacks |
2809 * set after they are loaded, since prefs sets the enabled | 2752 * set after they are loaded, since prefs sets the enabled |
2810 * preference here and that loads the window, which calls the | 2753 * preference here and that loads the window, which calls the |