kita 0.5.8 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2587cd0c8afbec961b0a3323a1c6b136390ffba4de0950f97e749b613d090c2
4
- data.tar.gz: 36590ce876e19db05a03d88bc508e8bcfbc6245a941d0a4c52acb956d67c4afc
3
+ metadata.gz: ddc231f376bc9f90a03aea5a93c459b69ada02a0633400419e20a7ce3887bcde
4
+ data.tar.gz: df3c096cdbbc3570d834d6393d623c8a5548872344114ec55ae7c56c21e730a5
5
5
  SHA512:
6
- metadata.gz: 397e143007adfe07eb99dc4ec01f6f7be68b37179dda85fd2a24f7b398be680d868c6540996d0c5c5fb5907873a2abba7167c0ef499ce3b57bd9a74de8da7c2e
7
- data.tar.gz: bf44b7edcfd2e6f55bf6c189f110150f7176ebf0ffa61d15f43e83cfc5d8b78f36ad0d0ba0ecd28854c0ddd358f7188f231b08e5a9e0cf850f7e07c9d9a04000
6
+ metadata.gz: 4abaf6436175474903db12f872fda3474df6446419c39f68b198f6059150b179b292cbbc96f37fe0eca3c2607cd1210f97ffe5a0460776b5178f9d016d66d16a
7
+ data.tar.gz: d5973d6b46e3f3fbaf0c1f22e548eafc56a0e8a6941d3eeaa55df4d272afaee9792c67e1d869c2262861531654613af102b451ba3caaae73c679df2817b076db
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kita (0.5.7)
4
+ kita (0.5.8)
5
5
  config (~> 2.2)
6
6
  gir_ffi (~> 0.15.2)
7
7
  gstreamer (~> 3.4)
@@ -31,6 +31,7 @@ module Kita
31
31
  end
32
32
 
33
33
  def setup_about_box
34
+ @ee = 0
34
35
  about_box = @builder['about_box']
35
36
  about_box.version = VERSION
36
37
  @builder['menu_about'].signal_connect('clicked') do
@@ -75,6 +76,11 @@ module Kita
75
76
  Settings.speak = !Settings.speak
76
77
  end
77
78
 
79
+ def ee
80
+ @ee += 1
81
+ @sound.play('これは北です') if @ee == 3
82
+ end
83
+
78
84
  def build_main_window
79
85
  signal_connect :activate do
80
86
  # Connect signal handlers to the constructed widgets
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kita
4
- VERSION = '0.5.8'
4
+ VERSION = '0.6.0'
5
5
  end
@@ -1,5 +1,5 @@
1
1
  name: kita
2
- version: '0.5.7'
2
+ version: '0.6.0'
3
3
  summary: Japanese learning tool
4
4
  description: |
5
5
  A simple tool to help Japanese language learners.
@@ -38,6 +38,7 @@ Author: Dan Bishop
38
38
  <property name="artists">Dan Bishop &lt;d@nbishop.uk&gt;</property>
39
39
  <property name="logo">kita.svg</property>
40
40
  <property name="license_type">gpl-3-0</property>
41
+ <signal name="show" handler="ee" swapped="no"/>
41
42
  <child type="titlebar">
42
43
  <placeholder/>
43
44
  </child>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bishop
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: config