Class: GloudApp::AboutDialog

Inherits:
Gtk::AboutDialog
  • Object
show all
Defined in:
lib/gloudapp.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAboutDialog

Returns a new instance of AboutDialog.



369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'lib/gloudapp.rb', line 369

def initialize
	super
	self.icon = GloudApp::Icon.normal
	self.name = "GloudApp"
	self.program_name = "GloudApp"
	self.version = GloudApp::Info::VERSION
	self.copyright = GloudApp::Info::COPYRIGHT
	self.license = GloudApp::Info::LICENSE
	self.artists = GloudApp::Info::ARTISTS.map { |author| "#{author[0]} <#{author[1]}>" }
	self.authors = GloudApp::Info::AUTHORS.map { |author| "#{author[0]} <#{author[1]}>" }
	self.website = GloudApp::Info::HOMEPAGE
	self. = GloudApp::Icon.normal
end

Class Method Details

.run!Object



383
384
385
386
387
# File 'lib/gloudapp.rb', line 383

def self.run!
	instance = self.new
	instance.run
	instance.destroy
end