comparison src/prefs.c @ 4687:283fb289c510

[gaim-migrate @ 4998] This is a new buddy list. Lots of things about it just Don't Work. I probably already know about those things, and you'd just be wasting my time in submitting a bug report about it. I decided that instead of getting it to all work perfectly before committing, that I'd get it in cvs, and slowly fix it with regular commits. That way, it's easier to keep track of things, and other developers can help. Plus, I'm getting pissed off at the buddy list and want it to die. It's kinda boring, and doing nothing but the buddy list for such a long time has just gotten me very bitter. After 0.60 is released later this week, Gaim will resume being fun. This week is going to be very stressful, though, I'm sure. Things you ought to know about this buddy list: - It crashes - It leaks - There's no way to edit the buddy list, or access offline buddies - Most of the menus and buttons and whatnot just plain ol' don't work. - Status icons are only implemented for AIM. That's mostly just because I'm lazy. As such, you may want to be wary of updating this. If you do decide to update this, you may want to learn "cvs update -D yesterday" as well :) All the art there is just placeholder art. You probably won't really have as many problems as it sounds like you will from reading this. This message is extra-negative to stress that I don't want to be bothered with complaints about something not working about it :). I'll repeat: If something doesn't work, I probably already know about it. If you want to actually help with something, I'd be delighted to have it. IM me. -s. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 10 Mar 2003 05:30:31 +0000
parents 24657a33e9e5
children 4bdd9a5fd026
comparison
equal deleted inserted replaced
4686:a1de8a9c99ba 4687:283fb289c510
34 #include <stdarg.h> 34 #include <stdarg.h>
35 #include <ctype.h> 35 #include <ctype.h>
36 #include <gtk/gtk.h> 36 #include <gtk/gtk.h>
37 #include "gtkimhtml.h" 37 #include "gtkimhtml.h"
38 #include "gaim.h" 38 #include "gaim.h"
39 #include "gtklist.h"
39 #include "prpl.h" 40 #include "prpl.h"
40 #include "proxy.h" 41 #include "proxy.h"
41 #include "sound.h" 42 #include "sound.h"
42 43
43 #ifdef _WIN32 44 #ifdef _WIN32
549 vbox = make_frame (ret, _("Group Display")); 550 vbox = make_frame (ret, _("Group Display"));
550 gaim_button(_("Hide _groups with no online buddies"), &blist_options, OPT_BLIST_NO_MT_GRP, vbox); 551 gaim_button(_("Hide _groups with no online buddies"), &blist_options, OPT_BLIST_NO_MT_GRP, vbox);
551 gaim_button(_("Show _numbers in groups"), &blist_options, OPT_BLIST_SHOW_GRPNUM, vbox); 552 gaim_button(_("Show _numbers in groups"), &blist_options, OPT_BLIST_SHOW_GRPNUM, vbox);
552 553
553 vbox = make_frame (ret, _("Buddy Display")); 554 vbox = make_frame (ret, _("Buddy Display"));
554 gaim_button(_("Show buddy type _icons"), &blist_options, OPT_BLIST_SHOW_PIXMAPS, vbox); 555 gaim_button(_("Show buddy _icons"), &blist_options, OPT_BLIST_SHOW_ICONS, vbox);
556 gaim_button(_("Show buddy t_ype icons"), &blist_options, OPT_BLIST_SHOW_PIXMAPS, vbox);
555 gaim_button(_("Show _warning levels"), &blist_options, OPT_BLIST_SHOW_WARN, vbox); 557 gaim_button(_("Show _warning levels"), &blist_options, OPT_BLIST_SHOW_WARN, vbox);
556 gaim_button(_("Show idle _times"), &blist_options, OPT_BLIST_SHOW_IDLETIME, vbox); 558 gaim_button(_("Show idle _times"), &blist_options, OPT_BLIST_SHOW_IDLETIME, vbox);
557 gaim_button(_("Grey i_dle buddies"), &blist_options, OPT_BLIST_GREY_IDLERS, vbox); 559 gaim_button(_("Grey i_dle buddies"), &blist_options, OPT_BLIST_GREY_IDLERS, vbox);
558 560
559 gtk_widget_show_all(ret); 561 gtk_widget_show_all(ret);
1947 misc_options ^= option; 1949 misc_options ^= option;
1948 1950
1949 if (option == OPT_MISC_DEBUG) 1951 if (option == OPT_MISC_DEBUG)
1950 show_debug(); 1952 show_debug();
1951 else if(option == OPT_MISC_USE_SERVER_ALIAS) { 1953 else if(option == OPT_MISC_USE_SERVER_ALIAS) {
1952 redo_buddy_list(); 1954 /* XXX blist reset the aliases here */
1953 build_edit_tree();
1954 gaim_conversation_foreach(gaim_conversation_autoset_title); 1955 gaim_conversation_foreach(gaim_conversation_autoset_title);
1955 } 1956 }
1956 } 1957 }
1957 1958
1958 static void set_logging_option(GtkWidget *w, int option) 1959 static void set_logging_option(GtkWidget *w, int option)
1964 } 1965 }
1965 1966
1966 static void set_blist_option(GtkWidget *w, int option) 1967 static void set_blist_option(GtkWidget *w, int option)
1967 { 1968 {
1968 blist_options ^= option; 1969 blist_options ^= option;
1969 1970
1970 if (!blist) 1971 if (!gtkblist)
1971 return; 1972 return;
1972 1973
1973 if (option == OPT_BLIST_NO_BUTTONS) 1974 gaim_gtk_blist_refresh(gaimbuddylist);
1974 build_imchat_box(!(blist_options & OPT_BLIST_NO_BUTTONS));
1975
1976 if (option == OPT_BLIST_SHOW_GRPNUM)
1977 update_num_groups();
1978
1979 if (option == OPT_BLIST_NO_MT_GRP)
1980 toggle_show_empty_groups();
1981
1982 if ((option == OPT_BLIST_SHOW_BUTTON_XPM) || (option == OPT_BLIST_NO_BUTTONS))
1983 update_button_pix();
1984
1985 if (option == OPT_BLIST_SHOW_PIXMAPS)
1986 toggle_buddy_pixmaps();
1987
1988 if ((option == OPT_BLIST_GREY_IDLERS) || (option == OPT_BLIST_SHOW_IDLETIME))
1989 update_idle_times();
1990 1975
1991 } 1976 }
1992 1977
1993 static void set_convo_option(GtkWidget *w, int option) 1978 static void set_convo_option(GtkWidget *w, int option)
1994 { 1979 {
2307 } else if (option == (int*)&chat_options) { 2292 } else if (option == (int*)&chat_options) {
2308 if (clear == (OPT_CHAT_SIDE_TAB | OPT_CHAT_BR_TAB)) 2293 if (clear == (OPT_CHAT_SIDE_TAB | OPT_CHAT_BR_TAB))
2309 gaim_gtkconv_update_tabs(); 2294 gaim_gtkconv_update_tabs();
2310 else if (clear == (OPT_CHAT_BUTTON_TEXT | OPT_CHAT_BUTTON_XPM)) 2295 else if (clear == (OPT_CHAT_BUTTON_TEXT | OPT_CHAT_BUTTON_XPM))
2311 gaim_gtkconv_update_chat_button_style(); 2296 gaim_gtkconv_update_chat_button_style();
2312 } else if (option == (int*)&blist_options) { 2297 // } else if (option == (int*)&blist_options) {
2313 set_blist_tab(); 2298 // set_blist_tab();
2314 } else if (option == (int *)&conv_placement_option) { 2299 } else if (option == (int *)&conv_placement_option) {
2315 gaim_conv_placement_set_active(conv_placement_option); 2300 gaim_conv_placement_set_active(conv_placement_option);
2316 } 2301 }
2317 } 2302 }
2318 2303