Sha256: da365438e1690708255a8175fffb155ea6bf6e2db00a2e5a67af13b832b9cad0
Contents?: true
Size: 1.67 KB
Versions: 2
Compression:
Stored size: 1.67 KB
Contents
# frozen_string_literal: true # Copyright (C) 2004-2006 Laurent Sansonetti # # Alexandria is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Alexandria is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with Alexandria; see the file COPYING. If not, # write to the Free Software Foundation, Inc., 51 Franklin Street, # Fifth Floor, Boston, MA 02110-1301 USA. require "gdk_pixbuf2" require "gtk3" require "alexandria/ui/icons" require "alexandria/ui/builder_base" require "alexandria/ui/completion_models" require "alexandria/ui/libraries_combo" require "alexandria/ui/multi_drag_treeview" require "alexandria/ui/main_app" module Alexandria module UI include Logging def self.init_icons log.info { "Initializing Icons..." } Icons.init end def self.start_main_app puts "==========================" if $DEBUG log.info { "Starting MainApp..." } puts "==========================" if $DEBUG MainApp.instance end def self.start_gtk puts "====================================" if $DEBUG log.info { "Starting Gtk..." } puts "====================================" if $DEBUG Gtk.main end def self.main init_icons start_main_app start_gtk end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alexandria-book-collection-manager-0.7.5 | lib/alexandria/ui.rb |
alexandria-book-collection-manager-0.7.4 | lib/alexandria/ui.rb |