Changeset 3298 in orxonox.OLD for orxonox/branches
- Timestamp:
- Dec 26, 2004, 11:46:20 PM (20 years ago)
- Location:
- orxonox/branches/updater/src/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui.cc
r3297 r3298 110 110 orxonoxGUI->showall (); 111 111 112 // Handling special Cases. 112 //// Handling special Cases. /// 113 114 // case update // 115 #ifdef HAVE_CURL 116 if (static_cast<Option*>(orxonoxGUI->findWidgetByName("auto update", 0))->value == 1) 117 { 118 update->checkForUpdates(); 119 } 120 #endif /* HAVE_CURL */ 121 122 // case start-with-gui. 113 123 if (!access(exec->getConfigFile(), F_OK) && static_cast<Option*>(orxonoxGUI->findWidgetByName("Always Show this Menu", 0))->value == 0) 114 124 OrxonoxGuiExec::startOrxonox(NULL, NULL); -
orxonox/branches/updater/src/gui/orxonox_gui_gtk.cc
r3296 r3298 157 157 { 158 158 Widget* tmp = NULL; 159 159 160 if (this->title && !strcmp(this->title, name)) 160 161 return this; -
orxonox/branches/updater/src/gui/orxonox_gui_update.cc
r3291 r3298 40 40 { 41 41 this->getSystemInfo(); 42 #ifdef HAVE_CURL43 this->checkForUpdates();44 #endif /* HAVE_CURL */45 42 46 43 this->updateFrame = new Frame ("Update-Options:"); … … 113 110 updateFileInfo.fileName = "update_info"; 114 111 updateFileInfo.webRoot = "http://www.orxonox.ethz.ch/files/data"; 115 updateFileInfo.localRoot = t mpDir;112 updateFileInfo.localRoot = this->tmpDir; 116 113 117 114 download(&updateFileInfo); -
orxonox/branches/updater/src/gui/orxonox_gui_update.h
r3286 r3298 32 32 33 33 bool getSystemInfo(); 34 #ifdef HAVE_CURL 35 bool* checkForUpdates(); 36 #endif /* HAVE_CURL */ 37 34 38 35 // Window creation. 39 36 Frame* updateFrame; //!< The Frame that holds the updateOptions. … … 107 104 void updateSourceWindowCreate (void); 108 105 Button* updateSourceWindowGetButton(void); 106 107 bool* checkForUpdates(); 108 109 109 #endif /* HAVE_CURL */ 110 110
Note: See TracChangeset
for help on using the changeset viewer.