~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to src/Frontend-GNOME/Views/Tags/LinkTag.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Smuxi - Smart MUltipleXed Irc
 
2
// 
 
3
// Copyright (c) 2011 Mirco Bauer <meebey@meebey.net>
 
4
// 
 
5
// Full GPL License: <http://www.gnu.org/licenses/gpl.txt>
 
6
// 
 
7
// This program is free software; you can redistribute it and/or modify
 
8
// it under the terms of the GNU General Public License as published by
 
9
// the Free Software Foundation; either version 2 of the License, or
 
10
// (at your option) any later version.
 
11
// 
 
12
// This program is distributed in the hope that it will be useful,
 
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
// GNU General Public License for more details.
 
16
// 
 
17
// You should have received a copy of the GNU General Public License
 
18
// along with this program; if not, write to the Free Software
 
19
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
20
 
 
21
using System;
 
22
 
 
23
namespace Smuxi.Frontend.Gnome
 
24
{
 
25
    public class LinkTag : Gtk.TextTag
 
26
    {
 
27
        public Uri Link { get; set; }
 
28
 
 
29
        public LinkTag(Uri link) : base(null)
 
30
        {
 
31
            if (link == null) {
 
32
                throw new ArgumentNullException("link");
 
33
            }
 
34
 
 
35
            Link = link;
 
36
        }
 
37
    }
 
38
}