Class: Alexandria::UI::AboutDialog
- Inherits:
-
Gtk::AboutDialog
- Object
- Gtk::AboutDialog
- Alexandria::UI::AboutDialog
- Includes:
- GetText
- Defined in:
- lib/alexandria/ui/dialogs/about_dialog.rb
Constant Summary collapse
- GPL =
<<EOL 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. EOL
Instance Method Summary collapse
-
#initialize(parent) ⇒ AboutDialog
constructor
A new instance of AboutDialog.
Constructor Details
#initialize(parent) ⇒ AboutDialog
Returns a new instance of AboutDialog.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/alexandria/ui/dialogs/about_dialog.rb', line 43 def initialize(parent) super() self.name = Alexandria::TITLE self.version = Alexandria::DISPLAY_VERSION self.copyright = Alexandria::COPYRIGHT self.comments = Alexandria::DESCRIPTION self. = Alexandria::AUTHORS self.documenters = Alexandria::DOCUMENTERS self.artists = Alexandria::ARTISTS self.translator_credits = Alexandria::TRANSLATORS.join("\n") self.logo = Icons::ALEXANDRIA self.website = Alexandria::WEBSITE_URL self.license = GPL self.transient_for = parent signal_connect('response') { destroy } end |