C0 code coverage information
Generated on Tue Oct 16 11:40:49 -0400 2007 with rcov 0.8.0
Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
1 # Copyright (C) 2004-2006 Laurent Sansonetti
2 #
3 # Alexandria is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License as
5 # published by the Free Software Foundation; either version 2 of the
6 # License, or (at your option) any later version.
7 #
8 # Alexandria is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public
14 # License along with Alexandria; see the file COPYING. If not,
15 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 # Boston, MA 02111-1307, USA.
17
18 module Alexandria
19 module UI
20 class AboutDialog < Gtk::AboutDialog
21 include GetText
22 GetText.bindtextdomain(Alexandria::TEXTDOMAIN, nil, nil, "UTF-8")
23
24 GPL = <<EOL
25 Alexandria is free software; you can redistribute it and/or
26 modify it under the terms of the GNU General Public License as
27 published by the Free Software Foundation; either version 2 of the
28 License, or (at your option) any later version.
29
30 Alexandria is distributed in the hope that it will be useful,
31 but WITHOUT ANY WARRANTY; without even the implied warranty of
32 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33 General Public License for more details.
34
35 You should have received a copy of the GNU General Public
36 License along with Alexandria; see the file COPYING. If not,
37 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
38 Boston, MA 02111-1307, USA.
39 EOL
40
41 def initialize(parent)
42 super()
43 self.name = Alexandria::TITLE
44 self.version = Alexandria::VERSION
45 self.copyright = Alexandria::COPYRIGHT
46 self.comments = Alexandria::DESCRIPTION
47 self.authors = Alexandria::AUTHORS
48 self.documenters = Alexandria::DOCUMENTERS
49 self.artists = Alexandria::ARTISTS
50 self.translator_credits = Alexandria::TRANSLATORS.join("\n")
51 self.logo = Icons::ALEXANDRIA
52 self.website = Alexandria::WEBSITE_URL
53 self.license = GPL
54 self.transient_for = parent
55 self.signal_connect('response') { self.destroy }
56 end
57 end
58 end
59 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.