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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/kita.rb +6 -0
- data/lib/kita/version.rb +1 -1
- data/snap/snapcraft.yaml +1 -1
- data/ui/builder.ui +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddc231f376bc9f90a03aea5a93c459b69ada02a0633400419e20a7ce3887bcde
|
4
|
+
data.tar.gz: df3c096cdbbc3570d834d6393d623c8a5548872344114ec55ae7c56c21e730a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4abaf6436175474903db12f872fda3474df6446419c39f68b198f6059150b179b292cbbc96f37fe0eca3c2607cd1210f97ffe5a0460776b5178f9d016d66d16a
|
7
|
+
data.tar.gz: d5973d6b46e3f3fbaf0c1f22e548eafc56a0e8a6941d3eeaa55df4d272afaee9792c67e1d869c2262861531654613af102b451ba3caaae73c679df2817b076db
|
data/Gemfile.lock
CHANGED
data/lib/kita.rb
CHANGED
@@ -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
|
data/lib/kita/version.rb
CHANGED
data/snap/snapcraft.yaml
CHANGED
data/ui/builder.ui
CHANGED
@@ -38,6 +38,7 @@ Author: Dan Bishop
|
|
38
38
|
<property name="artists">Dan Bishop <d@nbishop.uk></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.
|
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-
|
11
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: config
|