Changeset 3282 in orxonox.OLD for orxonox/branches
- Timestamp:
- Dec 25, 2004, 5:47:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_update.cc
r3281 r3282 313 313 \brief The downloading process (either threaded or not). 314 314 \param fileInfo the FileInfo. 315 316 \todo Threads get locked, if the cancel button is pressed in to small intervals. 315 317 */ 316 318 void* OrxonoxGuiUpdate::downloadThread(void* fileInfo) … … 321 323 info->stateButton->disconnectSignal(info->buttonSignal); 322 324 info->buttonSignal = info->stateButton->connectSignal("button_press_event", info, cancelDownload); 325 #ifdef HAVE_PTHREAD_H 323 326 info->stateButton->setTitle("cancel"); 327 #else /* HAVE_PTHREAD_H */ 328 info->stateButton->setTitle("please wait"); 329 #endif /* HAVE_PTHREAD_H */ 324 330 gdk_threads_leave(); 325 331 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); 326 332 327 333 curl_easy_perform(curlHandle); 328 329 334 } 330 335
Note: See TracChangeset
for help on using the changeset viewer.