Mercurial > pidgin.yaz
diff src/prefs.c @ 2993:7239a392486c
[gaim-migrate @ 3006]
0.53 :)
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sat, 02 Mar 2002 04:52:21 +0000 |
parents | 538c58b43eff |
children | 08327a2f25aa |
line wrap: on
line diff
--- a/src/prefs.c Sat Mar 02 01:37:01 2002 +0000 +++ b/src/prefs.c Sat Mar 02 04:52:21 2002 +0000 @@ -183,6 +183,7 @@ GtkWidget *sep; GtkWidget *idle; GtkWidget *opt; + GtkWidget *typingbutton; parent = prefdialog->parent; gtk_widget_destroy(prefdialog); @@ -226,7 +227,15 @@ misc_options ^= OPT_MISC_DEBUG; debugbutton = gaim_button(_("Show Debug Window"), &misc_options, OPT_MISC_DEBUG, mbox); gtk_signal_connect(GTK_OBJECT(debugbutton), "destroy", GTK_SIGNAL_FUNC(destdeb), 0); - + + /* Preferences should be positive */ + typingbutton = gaim_button(_("Notify buddies that you are typing to them"), &misc_options, + OPT_MISC_STEALTH_TYPING, mbox); + + /* So we have to toggle it */ + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(typingbutton), !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(typingbutton))); + misc_options ^= OPT_MISC_STEALTH_TYPING; + frame = gtk_frame_new(_("Report Idle Times")); gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 5); gtk_widget_show(frame);