lib/fugit.rb in tekkub-fugit-0.0.5 vs lib/fugit.rb in tekkub-fugit-0.0.6
- old
+ new
@@ -1,26 +1,44 @@
$:.unshift File.dirname(__FILE__)
+require "rubygems"
+
require 'wx'
+require "grit/lib/grit"
require "fugit/icon_loader"
require "fugit/commit_dialog"
require "fugit/commit_tab"
-require "fugit/commit_tab_toolbar"
require "fugit/console"
+require "fugit/create_branch_dialog"
require "fugit/delete_branch_dialog"
require "fugit/diff"
+require "fugit/fetch_dialog"
require "fugit/graph_renderer"
require "fugit/history_list"
require "fugit/history_tab"
require "fugit/index_list"
require "fugit/io_get_line"
+require "fugit/logged_dialog"
require "fugit/main_frame"
+require "fugit/merge_dialog"
require "fugit/messages"
require "fugit/push_dialog"
+require "fugit/revert_commit_dialog"
+require "fugit/run_command_dialog"
+require "fugit/tab_toolbar"
+
+unless Wx::MenuItem.method_defined?("set_bitmap")
+ module Wx
+ class MenuItem
+ def set_bitmap(a=nil)
+ end
+ end
+ end
+end
version = File.exist?(File.join(File.dirname(__FILE__), "..", ".git")) ? "Developer's alpha" : Gem.searcher.find("fugit").version.to_s rescue "Unknown"
Wx::App.run do
self.app_name = "Fugit"