Changeset 3303 in orxonox.OLD for orxonox/branches/updater
- Timestamp:
- Dec 28, 2004, 1:21:32 AM (20 years ago)
- Location:
- orxonox/branches/updater/src/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui.cc
r3301 r3303 119 119 // case start-with-gui. 120 120 if (!access(exec->getConfigFile(), F_OK) && static_cast<Option*>(orxonoxGUI->findWidgetByName("Always Show this Menu", 0))->value == 0) 121 OrxonoxGuiExec::startOrxonox(NULL, NULL);121 OrxonoxGuiExec::startOrxonox(NULL, exec); 122 122 else 123 #ifdef HAVE_GTK2 123 124 { 124 #ifdef HAVE_GTK2 125 mainloopGTK();125 mainloopGTK(); 126 } 126 127 #else /* HAVE_GTK2 */ 127 PRINT(0)(" Listing all the Orxonox Options: \n"); 128 PRINT(0)(" #############################\n"); 129 orxonoxGUI->walkThrough(orxonoxGUI->listOptions, 0); 128 { 129 PRINT(0)(" Listing all the Orxonox Options: \n"); 130 PRINT(0)(" #############################\n"); 131 orxonoxGUI->walkThrough(orxonoxGUI->listOptions, 0); 132 133 PRINT(0)("\nDo you want me to save the the above values now? [Yn] "); 134 char c = getchar(); 135 if ((c == 'y' || c == 'Y' || c== 10) && exec->shouldsave()) 136 exec->writeToFile (Window::mainWindow); 137 OrxonoxGuiExec::startOrxonox(NULL, exec); 138 } 130 139 131 PRINT(0)("\nDo you want me to save the the above values now? [Yn] ");132 char c = getchar();133 if ((c == 'y' || c == 'Y' || c== 10) && exec->shouldsave())134 exec->writeToFile (Window::mainWindow);135 OrxonoxGuiExec::startOrxonox(NULL, exec);136 140 #endif /* HAVE_GTK2 */ 137 }138 141 } -
orxonox/branches/updater/src/gui/orxonox_gui_update.cc
r3298 r3303 384 384 if (!isDownloading) 385 385 { 386 #ifdef HAVE_PTHREAD_H 386 387 pthread_join(*downloadThreadFinishID, NULL); 387 388 #endif /* HAVE_PTHREAD_H */ 388 389 #ifdef HAVE_GTK2 389 390 info->stateButton->disconnectSignal(info->buttonSignal);
Note: See TracChangeset
for help on using the changeset viewer.