| 173 pdl->dialog->prompt_handle = NULL; |
173 pdl->dialog->prompt_handle = NULL; |
| 174 gtk_widget_set_sensitive(pdl->dialog->browse_button, TRUE); |
174 gtk_widget_set_sensitive(pdl->dialog->browse_button, TRUE); |
| 175 |
175 |
| 176 if (!server || !*server) { |
176 if (!server || !*server) { |
| 177 purple_notify_error(my_plugin, _("Invalid Server"), _("Invalid Server"), |
177 purple_notify_error(my_plugin, _("Invalid Server"), _("Invalid Server"), |
| 178 NULL); |
178 NULL, purple_request_cpar_from_connection(pdl->pc)); |
| 179 |
179 |
| 180 pidgin_disco_list_set_in_progress(pdl, FALSE); |
180 pidgin_disco_list_set_in_progress(pdl, FALSE); |
| 181 pidgin_disco_list_unref(pdl); |
181 pidgin_disco_list_unref(pdl); |
| 182 return; |
182 return; |
| 183 } |
183 } |