Mercurial > pidgin
comparison src/conversation.c @ 10087:9fdbfe832fac
[gaim-migrate @ 11098]
gaim_prefs_connect_callback() now takes a handle that can be used to disconnect
the callbacks later on. The callback id's remain, so people can still use those
if they want, although I'm not sure if there's any need for them any more.
I also switched the order for initializing the prefs subsystem and statically
compiled protocol plugins so that prpl prefs can work for statically compiled
prpls.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 12 Oct 2004 00:49:19 +0000 |
parents | ebca3bbc6719 |
children | 60db14d54914 |
comparison
equal
deleted
inserted
replaced
10086:6cd2b467e303 | 10087:9fdbfe832fac |
---|---|
2729 /* Conversations -> IM */ | 2729 /* Conversations -> IM */ |
2730 gaim_prefs_add_none("/core/conversations/im"); | 2730 gaim_prefs_add_none("/core/conversations/im"); |
2731 gaim_prefs_add_bool("/core/conversations/im/send_typing", TRUE); | 2731 gaim_prefs_add_bool("/core/conversations/im/send_typing", TRUE); |
2732 | 2732 |
2733 /* Connect callbacks for changed preferences */ | 2733 /* Connect callbacks for changed preferences */ |
2734 gaim_prefs_connect_callback("/core/conversations/use_alias_for_title", | 2734 gaim_prefs_connect_callback(handle, "/core/conversations/use_alias_for_title", |
2735 update_titles_pref_cb, NULL); | 2735 update_titles_pref_cb, NULL); |
2736 gaim_prefs_connect_callback("/core/buddies/use_server_alias", | 2736 gaim_prefs_connect_callback(handle, "/core/buddies/use_server_alias", |
2737 update_titles_pref_cb, NULL); | 2737 update_titles_pref_cb, NULL); |
2738 | 2738 |
2739 | 2739 |
2740 /********************************************************************** | 2740 /********************************************************************** |
2741 * Register signals | 2741 * Register signals |