Mercurial > pidgin
comparison src/prefs.c @ 4227:a614423c648f
[gaim-migrate @ 4471]
This is a patch from Nathan Walp that adds a
"char server_alias[BUDDY_ALIAS_MAXLEN]" to struct buddy, and a preference
option to show the server alias instead of the alias set by you. It
shouldn't cause any problems. But then again, faceprint is a crazy patch
writer, with an emphasis on crazy, if you know what I mean. Huh? Get it?
"Crazy"? I kill me. But right after I kill Time Warner.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 07 Jan 2003 17:44:34 +0000 |
parents | e9e55f0a991c |
children | cc14954cc399 |
comparison
equal
deleted
inserted
replaced
4226:a7d1eddc0afc | 4227:a614423c648f |
---|---|
190 | 190 |
191 vbox = make_frame(ret, _("Interface Options")); | 191 vbox = make_frame(ret, _("Interface Options")); |
192 /* This shouldn't have to wait for user to click OK or APPLY or whatnot */ | 192 /* This shouldn't have to wait for user to click OK or APPLY or whatnot */ |
193 /* This really shouldn't be in preferences at all */ | 193 /* This really shouldn't be in preferences at all */ |
194 debugbutton = gaim_button(_("Show _debug window"), &misc_options, OPT_MISC_DEBUG, vbox); | 194 debugbutton = gaim_button(_("Show _debug window"), &misc_options, OPT_MISC_DEBUG, vbox); |
195 | |
196 gaim_button(_("D_isplay remote nicknames if no alias is set"), &misc_options, OPT_MISC_USE_SERVER_ALIAS, vbox); | |
195 | 197 |
196 | 198 |
197 gtk_widget_show_all(ret); | 199 gtk_widget_show_all(ret); |
198 return ret; | 200 return ret; |
199 } | 201 } |
1643 { | 1645 { |
1644 misc_options ^= option; | 1646 misc_options ^= option; |
1645 | 1647 |
1646 if (option == OPT_MISC_DEBUG) | 1648 if (option == OPT_MISC_DEBUG) |
1647 show_debug(); | 1649 show_debug(); |
1650 else if(option == OPT_MISC_USE_SERVER_ALIAS) { | |
1651 redo_buddy_list(); | |
1652 build_edit_tree(); | |
1653 set_convo_titles(); | |
1654 } | |
1648 } | 1655 } |
1649 | 1656 |
1650 static void set_logging_option(GtkWidget *w, int option) | 1657 static void set_logging_option(GtkWidget *w, int option) |
1651 { | 1658 { |
1652 logging_options ^= option; | 1659 logging_options ^= option; |