gtk-stream 0.15__py3-none-any.whl → 0.15.2__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 +3 -2
- {gtk_stream-0.15.dist-info → gtk_stream-0.15.2.dist-info}/METADATA +1 -1
- {gtk_stream-0.15.dist-info → gtk_stream-0.15.2.dist-info}/RECORD +7 -7
- {gtk_stream-0.15.dist-info → gtk_stream-0.15.2.dist-info}/WHEEL +0 -0
- {gtk_stream-0.15.dist-info → gtk_stream-0.15.2.dist-info}/entry_points.txt +0 -0
- {gtk_stream-0.15.dist-info → gtk_stream-0.15.2.dist-info}/top_level.txt +0 -0
gtk_stream/_version.py
CHANGED
gtk_stream/application.py
CHANGED
@@ -98,7 +98,7 @@ class GtkStreamApp(Gtk.Application):
|
|
98
98
|
self.attrs_set.release()
|
99
99
|
|
100
100
|
@app_message('file-dialog')
|
101
|
-
def open_file_dialog(self, id, parent, action = "open"):
|
101
|
+
def open_file_dialog(self, id, parent, title="Choose a file", action = "open"):
|
102
102
|
parent_window = self.named_windows[parent]
|
103
103
|
if Gtk.MINOR_VERSION >= 10:
|
104
104
|
# From version 4.10, use FileDialog
|
@@ -132,7 +132,8 @@ class GtkStreamApp(Gtk.Application):
|
|
132
132
|
case 'save':
|
133
133
|
fc_action = Gtk.FileChooserAction.SAVE
|
134
134
|
fc_label = "Save"
|
135
|
-
dialog = Gtk.FileChooserDialog(
|
135
|
+
dialog = Gtk.FileChooserDialog(title=title, transient_for=parent_window, action=fc_action)
|
136
|
+
dialog.add_buttons(fc_label, Gtk.ResponseType.ACCEPT)
|
136
137
|
dialog.props.modal = True
|
137
138
|
def on_choose(_, b):
|
138
139
|
try:
|
@@ -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=rpKddITAwhN3ODkw2Hnyk78Rfa68aMQtE89B6bWl2x0,413
|
3
|
+
gtk_stream/application.py,sha256=876pKzDZvfdj370EMMyrn0RhrqcapSw8u2pnMKhef_o,7011
|
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.dist-info/METADATA,sha256=
|
28
|
-
gtk_stream-0.15.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
29
|
-
gtk_stream-0.15.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
|
30
|
-
gtk_stream-0.15.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
|
31
|
-
gtk_stream-0.15.dist-info/RECORD,,
|
27
|
+
gtk_stream-0.15.2.dist-info/METADATA,sha256=d5MRVMpjCYPc7_P1qy9L1VvkgiHPtHP_aVFsaVjWm-8,807
|
28
|
+
gtk_stream-0.15.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
29
|
+
gtk_stream-0.15.2.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
|
30
|
+
gtk_stream-0.15.2.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
|
31
|
+
gtk_stream-0.15.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|