Mercurial > gftp.yaz
comparison src/gtk/menu-items.c @ 56:a12bcbc2fce4
2002-11-11 Brian Masney <masneyb@gftp.org>
* src/gtk/dnd.c - fixes to DnD code
* src/gtk/gftp-gtk.[ch] - added main_thread_id variable
* src/gtk/misc-gtk.c (ftp_log) - don't check the user_data to see if
we're in a child thread, instead compare the value of pthread_self()
with main_thread_id
* src/gtk/chmod_dialog.c src/gtk/delete_dialog.c src/gtk/menu-items.c
src/gtk/mkdir_dialog.c src/gtk/rename_dialog.c src/gtk/transfer.c -
don't set user_data to 0x1 if we're in a child thread
* lib/gftp.h src/gtk/misc-gtk.c src/text/gftp-text.c - make
r_getservbyname() available even if HAVE_GERADDRINFO is defined
* lib/misc.c (make_ssh_exec_args) - if port is zero, lookup the default
port for the ssh service
* lib/protocols.c (gftp_connect_server) - if the port is zero, store
the default port for that protocol there
* src/gtk/transfer.c - added function update_window_transfer_bytes().
Be able to update the directory download progress in window1 now
* lib/config_file.c lib/misc.c lib/protocols.c lib/ssh.c lib/sshv2.c
src/text/gftp-text.c - use g_strdup() instead of g_strconcat() where
needed
author | masneyb |
---|---|
date | Mon, 11 Nov 2002 23:16:12 +0000 |
parents | e5f6054590b5 |
children | fe0b21c006f6 |
comparison
equal
deleted
inserted
replaced
55:518c3872d198 | 56:a12bcbc2fce4 |
---|---|
423 { | 423 { |
424 gftp_window_data * wdata; | 424 gftp_window_data * wdata; |
425 int success, sj; | 425 int success, sj; |
426 | 426 |
427 wdata = data; | 427 wdata = data; |
428 wdata->request->user_data = (void *) 0x01; | |
429 | 428 |
430 if (wdata->request->use_threads) | 429 if (wdata->request->use_threads) |
431 { | 430 { |
432 sj = sigsetjmp (jmp_environment, 1); | 431 sj = sigsetjmp (jmp_environment, 1); |
433 use_jmp_environment = 1; | 432 use_jmp_environment = 1; |
452 } | 451 } |
453 | 452 |
454 if (wdata->request->use_threads) | 453 if (wdata->request->use_threads) |
455 use_jmp_environment = 0; | 454 use_jmp_environment = 0; |
456 | 455 |
457 wdata->request->user_data = NULL; | |
458 wdata->request->stopable = 0; | 456 wdata->request->stopable = 0; |
459 return ((void *) success); | 457 return ((void *) success); |
460 } | 458 } |
461 | 459 |
462 | 460 |