changeset 27:2d76577e28ff

Re #47: Add translatable GTK# widgets * Make TranslatableLabel show up in toolbox
author IBBoard <dev@ibboard.co.uk>
date Wed, 29 Dec 2010 19:48:35 +0000
parents 63919afde887
children 73c1e3372b52
files Translatable/TranslatableLabel.cs
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Translatable/TranslatableLabel.cs	Wed Dec 29 19:40:02 2010 +0000
+++ b/Translatable/TranslatableLabel.cs	Wed Dec 29 19:48:35 2010 +0000
@@ -8,7 +8,8 @@
 
 namespace IBBoard.GtkSharp.Translatable
 {
-	[System.ComponentModel.ToolboxItem("Translatable Label")]
+	[System.ComponentModel.ToolboxItem(true)]
+	[System.ComponentModel.Category("Translatable")]
 	public class TranslatableLabel : Label, ITranslatable
 	{
 		//Do nothing special