yardview_gtk3 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/exe/yardview +4 -4
- data/lib/yardview.rb +1 -1
- data/lib/yardview/application.rb +1 -1
- data/lib/yardview/application_window.rb +2 -2
- data/lib/yardview/version.rb +2 -2
- data/resources/yardview.ui +1 -1
- data/yardview.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed084ad17189542a6b77d73b672610ca7df3d5e2d5a5038d77610e826ec7a672
|
4
|
+
data.tar.gz: 707e1122552ac8649af84e62a26a3848c8187c24e90a8cb62dc5988ef6cd6b39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a434ab14b03f5ee146ce800eca1b0df54527acd571529e49bf1567b1b0df1f3159d2d7295e4ae97bc0292a9a7788d6c9c311051d506bf1efb2ecbc92ebdf5fb2
|
7
|
+
data.tar.gz: c1fa15fc60aa451ccff2210832d345f7fecd883e49b2bdcad35ffd4ee036e5c3921985725d8d7c5ed048450358761916a72727c65ab45ca0a7f67a4edd07809b
|
data/README.md
CHANGED
data/exe/yardview
CHANGED
@@ -7,8 +7,8 @@ require 'fileutils'
|
|
7
7
|
port_num ||= 8808
|
8
8
|
|
9
9
|
opt = OptionParser.new
|
10
|
-
opt.program_name = '
|
11
|
-
opt.version =
|
10
|
+
opt.program_name = 'YardView'
|
11
|
+
opt.version = YardView::VERSION
|
12
12
|
opt.on('-p', '--port VAL', Integer) { |v| port_num = v }
|
13
13
|
opt.parse!(ARGV)
|
14
14
|
|
@@ -24,13 +24,13 @@ at_exit do
|
|
24
24
|
FileUtils.rm_f(resource_bin)
|
25
25
|
end
|
26
26
|
|
27
|
-
app =
|
27
|
+
app = YardView.application
|
28
28
|
|
29
29
|
resource = Gio::Resource.load(resource_bin)
|
30
30
|
Gio::Resources.register(resource)
|
31
31
|
|
32
32
|
app.signal_connect :activate do |application|
|
33
|
-
window =
|
33
|
+
window = YardView::ApplicationWindow.new application, port: port_num
|
34
34
|
window.present
|
35
35
|
end
|
36
36
|
|
data/lib/yardview.rb
CHANGED
data/lib/yardview/application.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'gtk3'
|
4
4
|
|
5
|
-
module
|
5
|
+
module YardView
|
6
6
|
class ApplicationWindow < Gtk::ApplicationWindow
|
7
7
|
type_register
|
8
8
|
|
@@ -11,7 +11,7 @@ module Yardview
|
|
11
11
|
bind_template_child 'box'
|
12
12
|
set_connect_func do |handler_name|
|
13
13
|
lambda do
|
14
|
-
|
14
|
+
YardView.application.active_window.__send__(handler_name)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
data/lib/yardview/version.rb
CHANGED
data/resources/yardview.ui
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<!-- Generated with glade 3.22.2 -->
|
3
3
|
<interface>
|
4
4
|
<requires lib="gtk+" version="3.20"/>
|
5
|
-
<template class="
|
5
|
+
<template class="YardViewApplicationWindow" parent="GtkApplicationWindow">
|
6
6
|
<property name="can_focus">False</property>
|
7
7
|
<property name="opacity">0.90</property>
|
8
8
|
<property name="type">popup</property>
|
data/yardview.gemspec
CHANGED