Sha256: 7e3b7b24abfa8c0c9f1dbf57fef9e91041ef530eab2206c9c1feb775c42de373

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

module SSHTunnel
  module UI
    module Windows
      class AboutWindow < Gtk::AboutDialog

        # Register the class in the GLib world
        type_register

        class << self

          def init
            # Set the template from the resources binary
            set_template resource: '/com/ungtb10d/ssh-hull/ui/about_window.glade'
          end

        end

        include SSHTunnel::UI::Helpers::Common::TranslationHelper


        def initialize(application)
          super application: application

          set_title t('window.about')
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ssh-hull-2.0 lib/ssh-hull/ui/windows/about_window.rb
ssh-hull-1.0.0 lib/ssh-hull/ui/windows/about_window.rb