Test with the ImgurPlugin and designer language support, the form needs to extend a simple class which extends GreenshotForm and implements the language pattern getter. Some day we can change this to be simpler when there is only one global Language object...

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1774 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-12 14:44:21 +00:00
commit d1b5232898
9 changed files with 190 additions and 87 deletions

View file

@ -61,6 +61,12 @@ namespace Greenshot.IniFile {
WatchConfigFile(true);
}
public static bool IsInited {
get {
return applicationName != null && configName != null;
}
}
public static void ForceIniInStartupPath() {
if (portableCheckMade) {
throw new Exception("ForceLocal should be called before any file is read");