comparison libpurple/proxy.c @ 20040:b34d0ba5e225

Apply a similar fix to the proxy prefs loading fix to the status scores.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 14 Sep 2007 18:26:20 +0000
parents 1846fd2da2b4
children 6bf32c9e15a7
comparison
equal deleted inserted replaced
20039:1846fd2da2b4 20040:b34d0ba5e225
1992 proxy_pref_cb, NULL); 1992 proxy_pref_cb, NULL);
1993 purple_prefs_connect_callback(handle, "/purple/proxy/password", 1993 purple_prefs_connect_callback(handle, "/purple/proxy/password",
1994 proxy_pref_cb, NULL); 1994 proxy_pref_cb, NULL);
1995 1995
1996 /* Load the initial proxy settings */ 1996 /* Load the initial proxy settings */
1997 proxy_pref_cb("/purple/proxy/type", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/type"), NULL); 1997 purple_prefs_trigger_callback("/purple/proxy/type");
1998 proxy_pref_cb("/purple/proxy/host", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/host"), NULL); 1998 purple_prefs_trigger_callback("/purple/proxy/host");
1999 proxy_pref_cb("/purple/proxy/port", PURPLE_PREF_STRING, GINT_TO_POINTER(purple_prefs_get_int("/purple/proxy/port")), NULL); 1999 purple_prefs_trigger_callback("/purple/proxy/port");
2000 proxy_pref_cb("/purple/proxy/username", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/username"), NULL); 2000 purple_prefs_trigger_callback("/purple/proxy/username");
2001 proxy_pref_cb("/purple/proxy/password", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/password"), NULL); 2001 purple_prefs_trigger_callback("/purple/proxy/password");
2002 } 2002 }
2003 2003
2004 void 2004 void
2005 purple_proxy_uninit(void) 2005 purple_proxy_uninit(void)
2006 { 2006 {