diff 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
line wrap: on
line diff
--- a/libpurple/proxy.c	Fri Sep 14 17:55:05 2007 +0000
+++ b/libpurple/proxy.c	Fri Sep 14 18:26:20 2007 +0000
@@ -1994,11 +1994,11 @@
 		proxy_pref_cb, NULL);
 
 	/* Load the initial proxy settings */
-	proxy_pref_cb("/purple/proxy/type", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/type"), NULL);
-	proxy_pref_cb("/purple/proxy/host", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/host"), NULL);
-	proxy_pref_cb("/purple/proxy/port", PURPLE_PREF_STRING, GINT_TO_POINTER(purple_prefs_get_int("/purple/proxy/port")), NULL);
-	proxy_pref_cb("/purple/proxy/username", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/username"), NULL);
-	proxy_pref_cb("/purple/proxy/password", PURPLE_PREF_STRING, purple_prefs_get_string("/purple/proxy/password"), NULL);
+	purple_prefs_trigger_callback("/purple/proxy/type");
+	purple_prefs_trigger_callback("/purple/proxy/host");
+	purple_prefs_trigger_callback("/purple/proxy/port");
+	purple_prefs_trigger_callback("/purple/proxy/username");
+	purple_prefs_trigger_callback("/purple/proxy/password");
 }
 
 void