Mercurial > pidgin
comparison src/gtkprefs.c @ 8943:48f1b020136b
[gaim-migrate @ 9715]
Remove some old code. I think this was from long before prefslash04.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 16 May 2004 05:13:12 +0000 |
parents | 06f47021ddd3 |
children | f041cc8d86cf |
comparison
equal
deleted
inserted
replaced
8942:06f47021ddd3 | 8943:48f1b020136b |
---|---|
2680 /* Show everything. */ | 2680 /* Show everything. */ |
2681 gtk_tree_view_expand_all (GTK_TREE_VIEW(tree_v)); | 2681 gtk_tree_view_expand_all (GTK_TREE_VIEW(tree_v)); |
2682 gtk_widget_show(prefs); | 2682 gtk_widget_show(prefs); |
2683 } | 2683 } |
2684 | 2684 |
2685 #if 0 | |
2686 static void set_logging_option(GtkWidget *w, int option) | |
2687 { | |
2688 logging_options ^= option; | |
2689 | |
2690 if (option == OPT_LOG_CONVOS || option == OPT_LOG_CHATS) | |
2691 update_log_convs(); | |
2692 } | |
2693 | |
2694 static void set_convo_option(GtkWidget *w, int option) | |
2695 { | |
2696 convo_options ^= option; | |
2697 | |
2698 if (option == OPT_CONVO_SHOW_SMILEY) | |
2699 gaim_gtkconv_toggle_smileys(); | |
2700 | |
2701 if (option == OPT_CONVO_SHOW_TIME) | |
2702 gaim_gtkconv_toggle_timestamps(); | |
2703 } | |
2704 | |
2705 static void set_im_option(GtkWidget *w, int option) | |
2706 { | |
2707 im_options ^= option; | |
2708 | |
2709 #if 0 | |
2710 if (option == OPT_IM_ONE_WINDOW) | |
2711 im_tabize(); | |
2712 #endif | |
2713 } | |
2714 | |
2715 static void set_chat_option(GtkWidget *w, int option) | |
2716 { | |
2717 chat_options ^= option; | |
2718 | |
2719 #if 0 | |
2720 if (option == OPT_CHAT_ONE_WINDOW) | |
2721 chat_tabize(); | |
2722 #endif | |
2723 } | |
2724 | |
2725 static void set_away_option(GtkWidget *w, int option) | |
2726 { | |
2727 away_options ^= option; | |
2728 | |
2729 if (option == OPT_AWAY_QUEUE) | |
2730 toggle_away_queue(); | |
2731 } | |
2732 #endif | |
2733 | |
2734 static void | 2685 static void |
2735 set_bool_pref(GtkWidget *w, const char *key) | 2686 set_bool_pref(GtkWidget *w, const char *key) |
2736 { | 2687 { |
2737 gaim_prefs_set_bool(key, | 2688 gaim_prefs_set_bool(key, |
2738 gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))); | 2689 gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))); |