Mercurial > repos > IBBoard.GtkSharp
annotate Translatable/TranslatableLabel.cs @ 34:ef1cf7814a6b
* Add ATK# as a dependency, which seems to be necessary as of openSUSE 11.4 (may be Mono 2.10, may be newer GTK#)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 03 Apr 2011 13:11:00 +0000 |
parents | 2d76577e28ff |
children |
rev | line source |
---|---|
25
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (TranslatableLabel.cs) is a part of the IBBoard.GtkSharp project and is copyright 2010 IBBoard |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // // 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. |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 using System; |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 using Gtk; |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 using IBBoard.Lang; |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 namespace IBBoard.GtkSharp.Translatable |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 { |
27
2d76577e28ff
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
25
diff
changeset
|
11 [System.ComponentModel.ToolboxItem(true)] |
2d76577e28ff
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
25
diff
changeset
|
12 [System.ComponentModel.Category("Translatable")] |
25
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 public class TranslatableLabel : Label, ITranslatable |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 { |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 //Do nothing special |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 } |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 } |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 |