Class: Fliewr::AboutDialog

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

Instance Method Summary collapse

Constructor Details

#initializeAboutDialog

Returns a new instance of AboutDialog.



245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'lib/fliewr/ui.rb', line 245

def initialize
  Gtk::AboutDialog.set_email_hook do |widget, email|
    system("xdg-email #{email}")
  end
  Gtk::AboutDialog.set_url_hook do |widget, link|
    system("xdg-open #{link}")
  end
  super
  self.name         = 'Flickr Viewr'
  self.program_name = 'Flickr Viewr'
  self.comments     = "Flickr photostream viewer"
  self.version      = '2.0'
  self.copyright    = "Copyright (c)2008 Paul Philippov"
  self.license      = "This software is released under the BSD License.\nhttp://creativecommons.org/licenses/BSD/"
  self.authors      = ['Paul Philippov <[email protected]>']
  self.documenters  = ['Paul Philippov <[email protected]>']
  self.website      = "http://fliewr.googlecode.com/"
  self.         = $gui.
  self.run
  self.destroy
end