shenmegui 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shenmegui/file_dialog.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44380427299d2ddb86b605ba9ae47a96a28d6d83
|
4
|
+
data.tar.gz: 9e3d7a4252d6a395c8ea31591d0a54f46b74d0ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70939da850249a3dab80b71cd242b430e4b7b1e582112ca685f5cdf30aeea6ddaa61e408ce00fe44892020d0fec48f9ab85ace86fdb0e518b42282f4d700b66d
|
7
|
+
data.tar.gz: c027c6b8c0ceaa1fe15c3a649dd88da234fdd7e7a61fb5ca450c8999bda2d54de9d376363f9bc075fae993c109c9312b356da4c79f1242f73666ceb4fc996b11
|
@@ -84,7 +84,17 @@ module ShenmeGUI
|
|
84
84
|
path.force_encoding('GBK').encode('UTF-8')
|
85
85
|
end
|
86
86
|
|
87
|
+
#avoid error under linux
|
88
|
+
rescue
|
89
|
+
def self.get_open_file_name(params={})
|
90
|
+
""
|
91
|
+
end
|
92
|
+
|
93
|
+
def self.get_save_file_name(params={})
|
94
|
+
""
|
95
|
+
end
|
87
96
|
end
|
97
|
+
|
88
98
|
end
|
89
99
|
|
90
100
|
#ShenmeGUI::FileDialog.get_open_file_name(initial_path: 'C:\\')
|