gtk-stream 0.15.2__py3-none-any.whl → 0.15.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gtk_stream/_version.py +2 -2
- gtk_stream/application.py +12 -9
- {gtk_stream-0.15.2.dist-info → gtk_stream-0.15.4.dist-info}/METADATA +1 -1
- {gtk_stream-0.15.2.dist-info → gtk_stream-0.15.4.dist-info}/RECORD +7 -7
- {gtk_stream-0.15.2.dist-info → gtk_stream-0.15.4.dist-info}/WHEEL +0 -0
- {gtk_stream-0.15.2.dist-info → gtk_stream-0.15.4.dist-info}/entry_points.txt +0 -0
- {gtk_stream-0.15.2.dist-info → gtk_stream-0.15.4.dist-info}/top_level.txt +0 -0
gtk_stream/_version.py
CHANGED
gtk_stream/application.py
CHANGED
@@ -135,15 +135,18 @@ class GtkStreamApp(Gtk.Application):
|
|
135
135
|
dialog = Gtk.FileChooserDialog(title=title, transient_for=parent_window, action=fc_action)
|
136
136
|
dialog.add_buttons(fc_label, Gtk.ResponseType.ACCEPT)
|
137
137
|
dialog.props.modal = True
|
138
|
-
def
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
138
|
+
def on_response(_, response):
|
139
|
+
if response == Gtk.ResponseType.ACCEPT:
|
140
|
+
dialog.close()
|
141
|
+
else:
|
142
|
+
try:
|
143
|
+
file = dialog.get_file()
|
144
|
+
print(f"{id}:selected:{file.get_path()}")
|
145
|
+
sys.stdout.flush()
|
146
|
+
except GLib.GError as e:
|
147
|
+
print(f"{id}:none-selected")
|
148
|
+
sys.stdout.flush()
|
149
|
+
dialog.connect("response", on_response)
|
147
150
|
dialog.present()
|
148
151
|
|
149
152
|
@app_message('window', single_store)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
gtk_stream/__init__.py,sha256=y6JLknVFexWrSo_Zl7-TXrPR6EQ5XVMeFO1bUzLN9Lg,98
|
2
|
-
gtk_stream/_version.py,sha256=
|
3
|
-
gtk_stream/application.py,sha256=
|
2
|
+
gtk_stream/_version.py,sha256=KNHWpyvtONmNLJV_IL_RWMiPdLc5ikO93KvZSneqMyM,413
|
3
|
+
gtk_stream/application.py,sha256=3y7BDi8jsM_L0L_J0jwW9F0PVyPHdR9bG84ONTj81Tk,7163
|
4
4
|
gtk_stream/command_line.py,sha256=57slfbV-EUWVI8bsA50IzmCLqNjN9aZpz8J8Gtituro,3105
|
5
5
|
gtk_stream/common.py,sha256=2USRh42DmmxtPO1y8gpeU0hMuHfhcqJBPuxtvd46YHg,2112
|
6
6
|
gtk_stream/parser.py,sha256=lt1cHYwhrd0SwSQfbxtbK6NdwbnFmgeBDIeNY0eepwc,5709
|
@@ -24,8 +24,8 @@ gtk_stream/documents/classes/Separator.py,sha256=uw_EgAKs_6pNA8nrOLzruIlJfk4uaog
|
|
24
24
|
gtk_stream/documents/classes/Stack.py,sha256=diZyuBLwuCjn_WE3wx5MBgHN_ty6WXSsyIFRVAbe8yI,1572
|
25
25
|
gtk_stream/documents/classes/Switch.py,sha256=jQVuxqS9Pmpp1ymB_dbJPxasJNpm4e35ry0JYPHdAsk,1275
|
26
26
|
gtk_stream/documents/classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
|
-
gtk_stream-0.15.
|
28
|
-
gtk_stream-0.15.
|
29
|
-
gtk_stream-0.15.
|
30
|
-
gtk_stream-0.15.
|
31
|
-
gtk_stream-0.15.
|
27
|
+
gtk_stream-0.15.4.dist-info/METADATA,sha256=B91g8TzZAuEYEGCtdjo5fO2i3SIdwMZ_sriJVxusbDY,807
|
28
|
+
gtk_stream-0.15.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
29
|
+
gtk_stream-0.15.4.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
|
30
|
+
gtk_stream-0.15.4.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
|
31
|
+
gtk_stream-0.15.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|