Mercurial > pidgin.yaz
comparison plugins/win32/winprefs/winprefs.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 02 Oct 2003 02:54:07 +0000 |
parents | 4f93f10ddc75 |
children | d7b8eb1f0a18 |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
268 } | 268 } |
269 } | 269 } |
270 | 270 |
271 static void winprefs_set_im_blink(GtkWidget *w) { | 271 static void winprefs_set_im_blink(GtkWidget *w) { |
272 gaim_prefs_set_bool(OPT_WINPREFS_IM_BLINK, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))); | 272 gaim_prefs_set_bool(OPT_WINPREFS_IM_BLINK, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))); |
273 wgaim_im_blink_state(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))); | 273 wgaim_conv_im_blink_state(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))); |
274 } | 274 } |
275 | 275 |
276 /* | 276 /* |
277 * EXPORTED FUNCTIONS | 277 * EXPORTED FUNCTIONS |
278 */ | 278 */ |
292 g_signal_connect(blist, "destroy", blist_destroy_cb, NULL); | 292 g_signal_connect(blist, "destroy", blist_destroy_cb, NULL); |
293 } | 293 } |
294 else | 294 else |
295 gaim_signal_connect((void*)gaim_connections_get_handle(), "signed-on", plugin_id, GAIM_CALLBACK(blist_create_cb), NULL); | 295 gaim_signal_connect((void*)gaim_connections_get_handle(), "signed-on", plugin_id, GAIM_CALLBACK(blist_create_cb), NULL); |
296 | 296 |
297 wgaim_im_blink_state(gaim_prefs_get_bool(OPT_WINPREFS_IM_BLINK)); | 297 wgaim_conv_im_blink_state(gaim_prefs_get_bool(OPT_WINPREFS_IM_BLINK)); |
298 | 298 |
299 gaim_signal_connect((void*)gaim_get_core(), "quitting", plugin, GAIM_CALLBACK(gaim_quit_cb), NULL); | 299 gaim_signal_connect((void*)gaim_get_core(), "quitting", plugin, GAIM_CALLBACK(gaim_quit_cb), NULL); |
300 | 300 |
301 return TRUE; | 301 return TRUE; |
302 } | 302 } |
303 | 303 |
304 gboolean plugin_unload(GaimPlugin *plugin) { | 304 gboolean plugin_unload(GaimPlugin *plugin) { |
305 blist_set_dockable(FALSE); | 305 blist_set_dockable(FALSE); |
306 wgaim_im_blink_state(TRUE); | 306 wgaim_conv_im_blink_state(TRUE); |
307 return TRUE; | 307 return TRUE; |
308 } | 308 } |
309 | 309 |
310 static GtkWidget* get_config_frame(GaimPlugin *plugin) { | 310 static GtkWidget* get_config_frame(GaimPlugin *plugin) { |
311 GtkWidget *ret; | 311 GtkWidget *ret; |