Mercurial > pidgin
comparison src/dialogs.c @ 1102:d7944415b1cc
[gaim-migrate @ 1112]
updates to changelog, fix for potential segfault in buddy.c, making dir info in server.c connection-based, and making gaim dependent on toc/rvous only for build_toc_config and parse_toc_buddy_list (and of course, toc_init).
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 16 Nov 2000 23:51:49 +0000 |
| parents | 56c7ceb986a8 |
| children | c73736fa0b7c |
comparison
equal
deleted
inserted
replaced
| 1101:0ef4386edc29 | 1102:d7944415b1cc |
|---|---|
| 1178 char *city = gtk_entry_get_text(GTK_ENTRY(b->city)); | 1178 char *city = gtk_entry_get_text(GTK_ENTRY(b->city)); |
| 1179 char *state = gtk_entry_get_text(GTK_ENTRY(b->state)); | 1179 char *state = gtk_entry_get_text(GTK_ENTRY(b->state)); |
| 1180 char *country = gtk_entry_get_text(GTK_ENTRY(b->country)); | 1180 char *country = gtk_entry_get_text(GTK_ENTRY(b->country)); |
| 1181 | 1181 |
| 1182 | 1182 |
| 1183 serv_set_dir(first, middle, last, maiden, city, state, country, web); | 1183 /* FIXME */ |
| 1184 if (connections) | |
| 1185 serv_set_dir(connections->data, first, middle, last, maiden, city, state, country, web); | |
| 1184 | 1186 |
| 1185 destroy_dialog(NULL, b->window); | 1187 destroy_dialog(NULL, b->window); |
| 1186 g_free(b); | 1188 g_free(b); |
| 1187 } | 1189 } |
| 1188 | 1190 |
| 1937 maiden = gtk_entry_get_text(GTK_ENTRY(b->maidenentry)); | 1939 maiden = gtk_entry_get_text(GTK_ENTRY(b->maidenentry)); |
| 1938 city = gtk_entry_get_text(GTK_ENTRY(b->cityentry)); | 1940 city = gtk_entry_get_text(GTK_ENTRY(b->cityentry)); |
| 1939 state = gtk_entry_get_text(GTK_ENTRY(b->stateentry)); | 1941 state = gtk_entry_get_text(GTK_ENTRY(b->stateentry)); |
| 1940 country = gtk_entry_get_text(GTK_ENTRY(b->countryentry)); | 1942 country = gtk_entry_get_text(GTK_ENTRY(b->countryentry)); |
| 1941 | 1943 |
| 1942 serv_dir_search(first, middle, last, maiden, city, state, country, ""); | 1944 /* FIXME */ |
| 1945 if (connections) | |
| 1946 serv_dir_search(connections->data, first, middle, last, maiden, city, state, country, ""); | |
| 1943 destroy_dialog(NULL, b->window); | 1947 destroy_dialog(NULL, b->window); |
| 1944 } | 1948 } |
| 1945 | 1949 |
| 1946 void do_find_email(GtkWidget *w, struct findbyemail *b) | 1950 void do_find_email(GtkWidget *w, struct findbyemail *b) |
| 1947 { | 1951 { |
| 1948 char *email; | 1952 char *email; |
| 1949 | 1953 |
| 1950 email = gtk_entry_get_text(GTK_ENTRY(b->emailentry)); | 1954 email = gtk_entry_get_text(GTK_ENTRY(b->emailentry)); |
| 1951 | 1955 |
| 1952 serv_dir_search("","","","","","","", email); | 1956 /* FIXME */ |
| 1957 if (connections) | |
| 1958 serv_dir_search(connections->data, "","","","","","","", email); | |
| 1953 | 1959 |
| 1954 destroy_dialog(NULL, b->window); | 1960 destroy_dialog(NULL, b->window); |
| 1955 } | 1961 } |
| 1956 | 1962 |
| 1957 void show_find_info() | 1963 void show_find_info() |
