Mercurial > pidgin
comparison src/request.c @ 13269:3638606a5afa
[gaim-migrate @ 15635]
Reverting the request folder stuff, because it uses GtkFileChooser, which was added in GTK+ 2.4.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Mon, 13 Feb 2006 04:11:39 +0000 |
| parents | f3ae450fb947 |
| children | a651bfe0a922 |
comparison
equal
deleted
inserted
replaced
| 13268:16f6d6f8afc7 | 13269:3638606a5afa |
|---|---|
| 1361 } | 1361 } |
| 1362 | 1362 |
| 1363 return NULL; | 1363 return NULL; |
| 1364 } | 1364 } |
| 1365 | 1365 |
| 1366 void * | |
| 1367 gaim_request_folder(void *handle, const char *title, const char *dirname, | |
| 1368 GCallback ok_cb, GCallback cancel_cb, void *user_data) | |
| 1369 { | |
| 1370 GaimRequestUiOps *ops; | |
| 1371 | |
| 1372 ops = gaim_request_get_ui_ops(); | |
| 1373 | |
| 1374 if (ops != NULL && ops->request_file != NULL) { | |
| 1375 GaimRequestInfo *info; | |
| 1376 | |
| 1377 info = g_new0(GaimRequestInfo, 1); | |
| 1378 info->type = GAIM_REQUEST_FOLDER; | |
| 1379 info->handle = handle; | |
| 1380 info->ui_handle = ops->request_folder(title, dirname, | |
| 1381 ok_cb, cancel_cb, user_data); | |
| 1382 handles = g_list_append(handles, info); | |
| 1383 return info->ui_handle; | |
| 1384 } | |
| 1385 | |
| 1386 return NULL; | |
| 1387 } | |
| 1388 | |
| 1389 static void | 1366 static void |
| 1390 gaim_request_close_info(GaimRequestInfo *info) | 1367 gaim_request_close_info(GaimRequestInfo *info) |
| 1391 { | 1368 { |
| 1392 GaimRequestUiOps *ops; | 1369 GaimRequestUiOps *ops; |
| 1393 | 1370 |
