Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 26, 2004, 11:46:20 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: autoupdate at beginning works partly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui.cc

    r3297 r3298  
    110110  orxonoxGUI->showall ();
    111111
    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.
    113123  if (!access(exec->getConfigFile(), F_OK) && static_cast<Option*>(orxonoxGUI->findWidgetByName("Always Show this Menu", 0))->value == 0)
    114124    OrxonoxGuiExec::startOrxonox(NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.