diff FrmAbout.cs @ 93:e40d892a2298

Fixes #308: Make GTK# UI translatable * Move all remaining buttons to translatable buttons * Make the About dialog translatable (where appropriate) * Move to UTF-8 encoding in the XML to correctly handle copyright symbol * Switch About dialog to using Close button as per other apps
author IBBoard <dev@ibboard.co.uk>
date Fri, 31 Dec 2010 13:53:18 +0000
parents 9c9af2ce8c43
children 26e4525b49cf
line wrap: on
line diff
--- a/FrmAbout.cs	Fri Dec 31 12:01:18 2010 +0000
+++ b/FrmAbout.cs	Fri Dec 31 13:53:18 2010 +0000
@@ -25,12 +25,12 @@
 		private FrmAbout()
 		{
 			this.Build();
-			ControlTranslator.TranslateWidget(this);
+			Translate();
 		}
 
-		protected virtual void OkayClicked(object sender, System.EventArgs e)
+		protected virtual void CloseClicked(object sender, System.EventArgs e)
 		{
-			Respond(ResponseType.Ok);
+			Respond(ResponseType.Close);
 		}		
 	}
 }