| 1037 |
1037 |
| 1038 purple_prefs_connect_callback(prefs, "/purple/proxy/type", |
1038 purple_prefs_connect_callback(prefs, "/purple/proxy/type", |
| 1039 proxy_changed_cb, win); |
1039 proxy_changed_cb, win); |
| 1040 |
1040 |
| 1041 if (proxy_info != NULL) { |
1041 if (proxy_info != NULL) { |
| 1042 if (purple_proxy_info_get_host(proxy_info)) { |
1042 if (purple_proxy_info_get_hostname(proxy_info)) { |
| 1043 gtk_entry_set_text(GTK_ENTRY(win->proxy.host), |
1043 gtk_entry_set_text(GTK_ENTRY(win->proxy.host), |
| 1044 purple_proxy_info_get_host(proxy_info)); |
1044 purple_proxy_info_get_hostname(proxy_info)); |
| 1045 } |
1045 } |
| 1046 |
1046 |
| 1047 if (purple_proxy_info_get_port(proxy_info) != 0) { |
1047 if (purple_proxy_info_get_port(proxy_info) != 0) { |
| 1048 gtk_spin_button_set_value( |
1048 gtk_spin_button_set_value( |
| 1049 GTK_SPIN_BUTTON(win->proxy.port), |
1049 GTK_SPIN_BUTTON(win->proxy.port), |