comparison src/prefs.c @ 5297:d4c9c5491812

[gaim-migrate @ 5669] Deryni turned off the 30 sec timer when idle times aren't being displayed committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 05 May 2003 20:38:49 +0000
parents 72f102ca9982
children 1f901484599d
comparison
equal deleted inserted replaced
5296:72f102ca9982 5297:d4c9c5491812
1972 struct gaim_gtk_buddy_list *gtkblist; 1972 struct gaim_gtk_buddy_list *gtkblist;
1973 1973
1974 gtkblist = GAIM_GTK_BLIST(gaim_get_blist()); 1974 gtkblist = GAIM_GTK_BLIST(gaim_get_blist());
1975 1975
1976 blist_options ^= option; 1976 blist_options ^= option;
1977 1977
1978 if (!gtkblist) 1978 if (!gtkblist)
1979 return; 1979 return;
1980 1980
1981 if (option == OPT_BLIST_SHOW_WARN || 1981 if (option == OPT_BLIST_SHOW_WARN)
1982 option == OPT_BLIST_SHOW_IDLETIME)
1983 gaim_gtk_blist_update_columns(); 1982 gaim_gtk_blist_update_columns();
1983 else if (option == OPT_BLIST_SHOW_IDLETIME) {
1984 gaim_gtk_blist_update_refresh_timeout();
1985 gaim_gtk_blist_update_columns();
1986 }
1984 else if (option == OPT_BLIST_SHOW_ICONS) { 1987 else if (option == OPT_BLIST_SHOW_ICONS) {
1988 gaim_gtk_blist_update_refresh_timeout();
1985 gaim_gtk_blist_refresh(gaim_get_blist()); 1989 gaim_gtk_blist_refresh(gaim_get_blist());
1986 gaim_gtk_blist_update_columns(); 1990 gaim_gtk_blist_update_columns();
1987 } else 1991 } else
1988 gaim_gtk_blist_refresh(gaim_get_blist()); 1992 gaim_gtk_blist_refresh(gaim_get_blist());
1993
1989 } 1994 }
1990 1995
1991 static void set_convo_option(GtkWidget *w, int option) 1996 static void set_convo_option(GtkWidget *w, int option)
1992 { 1997 {
1993 convo_options ^= option; 1998 convo_options ^= option;