# HG changeset patch # User IBBoard # Date 1317844939 -3600 # Node ID c7645414cb3e23c554c19f3d25fe014e8a843805 # Parent 150e2b080a3f4f05dabb067887f3173a9b266820 * Add translatable CheckButton (checkbox) * Update package naming rules diff -r 150e2b080a3f -r c7645414cb3e IBBoard.GtkSharp.csproj --- a/IBBoard.GtkSharp.csproj Sat Sep 24 11:58:12 2011 +0100 +++ b/IBBoard.GtkSharp.csproj Wed Oct 05 21:02:19 2011 +0100 @@ -42,6 +42,7 @@ + @@ -69,6 +70,7 @@ + diff -r 150e2b080a3f -r c7645414cb3e Translatable/TranslatableCheckButton.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Translatable/TranslatableCheckButton.cs Wed Oct 05 21:02:19 2011 +0100 @@ -0,0 +1,25 @@ +// This file (TranslatableCheckbox.cs) is a part of the IBBoard.GtkSharp project and is copyright 2011 IBBoard +// +// // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using Gtk; +using IBBoard.Lang; + +namespace IBBoard.GtkSharp.Translatable +{ + public class TranslatableCheckButton : CheckButton, ITranslatable + { + public string Text + { + get + { + return Label; + } + set + { + Label = value; + } + } + } +} +