Class: Fliewr::AboutDialog
- Inherits:
-
Gtk::AboutDialog
- Object
- Gtk::AboutDialog
- Fliewr::AboutDialog
- Defined in:
- lib/fliewr/ui.rb
Instance Method Summary collapse
-
#initialize ⇒ AboutDialog
constructor
A new instance of AboutDialog.
Constructor Details
#initialize ⇒ AboutDialog
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 |, email| system("xdg-email #{email}") end Gtk::AboutDialog.set_url_hook do |, 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. = ['Paul Philippov <[email protected]>'] self.documenters = ['Paul Philippov <[email protected]>'] self.website = "http://fliewr.googlecode.com/" self.logo = $gui.logo self.run self.destroy end |