|
Lines 1665-1672
Link Here
|
| 1665 |
} |
1665 |
} |
| 1666 |
if (url->user) |
1666 |
if (url->user) |
| 1667 |
gtk_entry_set_text(service->username, url->user); |
1667 |
gtk_entry_set_text(service->username, url->user); |
| 1668 |
if (service->pathentry && url->path) |
1668 |
if (service->pathentry) { |
| 1669 |
gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (service->pathentry), url->path); |
1669 |
GtkFileChooserAction action = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER; |
|
|
1670 |
|
| 1671 |
if (service->provider && (service->provider->url_flags & CAMEL_URL_NEED_PATH_DIR) == 0) |
| 1672 |
action = GTK_FILE_CHOOSER_ACTION_OPEN; |
| 1673 |
|
| 1674 |
if (action != gtk_file_chooser_get_action (GTK_FILE_CHOOSER (service->pathentry))) |
| 1675 |
gtk_file_chooser_set_action (GTK_FILE_CHOOSER (service->pathentry), action); |
| 1676 |
|
| 1677 |
if (url->path) |
| 1678 |
gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (service->pathentry), url->path); |
| 1679 |
} |
| 1670 |
|
1680 |
|
| 1671 |
tmp = camel_url_get_param(url, "use_ssl"); |
1681 |
tmp = camel_url_get_param(url, "use_ssl"); |
| 1672 |
if (tmp == NULL) |
1682 |
if (tmp == NULL) |