From c46883eea1cb0511ba8bbd9ee4259a82a325b2a4 Mon Sep 17 00:00:00 2001 From: coppro Date: Thu, 23 Aug 2007 01:25:57 +0000 Subject: [PATCH] Improved the update window further - now we just need a system to actual download and install them. Added safeties to locale validation (ugly code though... I'd add another function, but I'm lazy and this is faster) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@614 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/en.mse-locale/locale | 4 +- src/data/locale.cpp | 31 +++++++++---- src/gui/update_checker.cpp | 94 +++++++++++++++++++++++++++++++++----- src/gui/update_checker.hpp | 6 +++ src/util/window_id.hpp | 6 +++ 5 files changed, 118 insertions(+), 23 deletions(-) diff --git a/data/en.mse-locale/locale b/data/en.mse-locale/locale index 5d413968..8b548a34 100644 --- a/data/en.mse-locale/locale +++ b/data/en.mse-locale/locale @@ -1,4 +1,4 @@ -mse version: 0.3.2 +mse version: 0.3.2 full name: English ############################################################## Menu items @@ -686,7 +686,7 @@ type: upgradeable: upgradeable install: install - uninstall: uninstalled + uninstall: uninstall upgrade: upgrade do nothing: do nothing new mse: MSE outdated diff --git a/src/data/locale.cpp b/src/data/locale.cpp index 9dca1de0..c312e4cd 100644 --- a/src/data/locale.cpp +++ b/src/data/locale.cpp @@ -12,6 +12,7 @@ #include #include #include