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 require 'gdk_pixbuf2'
19 require 'libglade2'
20 require 'gnome2'
21
22 require 'alexandria/ui/icons'
23 require 'alexandria/ui/glade_base'
24 require 'alexandria/ui/completion_models'
25 require 'alexandria/ui/libraries_combo'
26 require 'alexandria/ui/multi_drag_treeview'
27 require 'alexandria/ui/main_app'
28
29
30 module Pango
31 def self.ellipsizable?
32 @ellipsizable ||= Pango.constants.include?('ELLIPSIZE_END')
33 end
34 end
35
36 module Alexandria
37 module UI
38 def self.main
39 puts "Initializing app_datadir..." if $DEBUG
40 Gnome::Program.new('alexandria', VERSION).app_datadir =
41 Config::MAIN_DATA_DIR
42 puts "Initializing Icons..." if $DEBUG
43 Icons.init
44 puts "Starting MainApp..." if $DEBUG
45 MainApp.new
46 puts "Starting Gtk.main..." if $DEBUG
47 Gtk.main
48 end
49 end
50 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.