Mercurial > pidgin.yaz
comparison src/gtkrequest.c @ 8848:56e6b9bdcdbc
[gaim-migrate @ 9615]
you can't do that
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 01 May 2004 15:20:25 +0000 |
parents | 1bbe99a07e36 |
children | 2c33a94a6ac2 |
comparison
equal
deleted
inserted
replaced
8847:82545475e3a7 | 8848:56e6b9bdcdbc |
---|---|
1401 data->cb_count = 2; | 1401 data->cb_count = 2; |
1402 data->cbs = g_new0(GCallback, 2); | 1402 data->cbs = g_new0(GCallback, 2); |
1403 data->cbs[0] = ok_cb; | 1403 data->cbs[0] = ok_cb; |
1404 data->cbs[1] = cancel_cb; | 1404 data->cbs[1] = cancel_cb; |
1405 | 1405 |
1406 filesel = gtk_file_selection_new(title ? title : _("")); | 1406 filesel = gtk_file_selection_new(title ? title : ""); |
1407 cur_dir = g_get_current_dir(); | 1407 cur_dir = g_get_current_dir(); |
1408 g_snprintf(tmp, sizeof(tmp), "%s" G_DIR_SEPARATOR_S, cur_dir); | 1408 g_snprintf(tmp, sizeof(tmp), "%s" G_DIR_SEPARATOR_S, cur_dir); |
1409 init_str = g_build_filename(tmp, filename, NULL); | 1409 init_str = g_build_filename(tmp, filename, NULL); |
1410 gtk_file_selection_set_filename(GTK_FILE_SELECTION(filesel), init_str); | 1410 gtk_file_selection_set_filename(GTK_FILE_SELECTION(filesel), init_str); |
1411 g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(filesel)), | 1411 g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(filesel)), |