Mercurial > pidgin.yaz
comparison src/gtkconv.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 | e653b2c888f4 |
children | c49cc5b818cf |
comparison
equal
deleted
inserted
replaced
10086:6cd2b467e303 | 10087:9fdbfe832fac |
---|---|
6395 gaim_prefs_add_int("/gaim/gtk/conversations/im/entry_height", 50); | 6395 gaim_prefs_add_int("/gaim/gtk/conversations/im/entry_height", 50); |
6396 gaim_prefs_add_bool("/gaim/gtk/conversations/im/raise_on_events", FALSE); | 6396 gaim_prefs_add_bool("/gaim/gtk/conversations/im/raise_on_events", FALSE); |
6397 gaim_prefs_add_bool("/gaim/gtk/conversations/im/show_buddy_icons", TRUE); | 6397 gaim_prefs_add_bool("/gaim/gtk/conversations/im/show_buddy_icons", TRUE); |
6398 | 6398 |
6399 /* Connect callbacks. */ | 6399 /* Connect callbacks. */ |
6400 gaim_prefs_connect_callback("/gaim/gtk/conversations/escape_closes", | 6400 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/escape_closes", |
6401 escape_closes_pref_cb, NULL); | 6401 escape_closes_pref_cb, NULL); |
6402 gaim_prefs_connect_callback("/gaim/gtk/conversations/close_on_tabs", | 6402 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/close_on_tabs", |
6403 close_on_tabs_pref_cb, NULL); | 6403 close_on_tabs_pref_cb, NULL); |
6404 gaim_prefs_connect_callback("/gaim/gtk/conversations/show_timestamps", | 6404 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/show_timestamps", |
6405 show_timestamps_pref_cb, NULL); | 6405 show_timestamps_pref_cb, NULL); |
6406 gaim_prefs_connect_callback("/gaim/gtk/conversations/html_shortcuts", | 6406 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/html_shortcuts", |
6407 html_shortcuts_pref_cb, NULL); | 6407 html_shortcuts_pref_cb, NULL); |
6408 gaim_prefs_connect_callback("/gaim/gtk/conversations/smiley_shortcuts", | 6408 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/smiley_shortcuts", |
6409 smiley_shortcuts_pref_cb, NULL); | 6409 smiley_shortcuts_pref_cb, NULL); |
6410 gaim_prefs_connect_callback("/gaim/gtk/conversations/show_formatting_toolbar", | 6410 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/show_formatting_toolbar", |
6411 show_formatting_toolbar_pref_cb, NULL); | 6411 show_formatting_toolbar_pref_cb, NULL); |
6412 gaim_prefs_connect_callback("/gaim/gtk/conversations/spellcheck", | 6412 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/spellcheck", |
6413 spellcheck_pref_cb, NULL); | 6413 spellcheck_pref_cb, NULL); |
6414 gaim_prefs_connect_callback("/gaim/gtk/conversations/tab_side", | 6414 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/tab_side", |
6415 tab_side_pref_cb, NULL); | 6415 tab_side_pref_cb, NULL); |
6416 | 6416 |
6417 gaim_prefs_connect_callback("/gaim/gtk/conversations/placement", | 6417 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/placement", |
6418 conv_placement_pref_cb, NULL); | 6418 conv_placement_pref_cb, NULL); |
6419 gaim_prefs_trigger_callback("/gaim/gtk/conversations/placement"); | 6419 gaim_prefs_trigger_callback("/gaim/gtk/conversations/placement"); |
6420 | 6420 |
6421 gaim_prefs_connect_callback("/gaim/gtk/conversations/button_type", | 6421 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/button_type", |
6422 button_type_pref_cb, NULL); | 6422 button_type_pref_cb, NULL); |
6423 | 6423 |
6424 /* IM callbacks */ | 6424 /* IM callbacks */ |
6425 gaim_prefs_connect_callback("/gaim/gtk/conversations/im/animate_buddy_icons", | 6425 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/im/animate_buddy_icons", |
6426 animate_buddy_icons_pref_cb, NULL); | 6426 animate_buddy_icons_pref_cb, NULL); |
6427 gaim_prefs_connect_callback("/gaim/gtk/conversations/im/show_buddy_icons", | 6427 gaim_prefs_connect_callback(handle, "/gaim/gtk/conversations/im/show_buddy_icons", |
6428 show_buddy_icons_pref_cb, NULL); | 6428 show_buddy_icons_pref_cb, NULL); |
6429 | 6429 |
6430 | 6430 |
6431 /********************************************************************** | 6431 /********************************************************************** |
6432 * Register signals | 6432 * Register signals |