-
-
Notifications
You must be signed in to change notification settings - Fork 15
Add doc for FileChooserDialog::with_buttons #39
Add doc for FileChooserDialog::with_buttons #39
Conversation
Looks good to me |
I guess that the title could match the default one ("Select a File") but this is pretty minor: |
If it match default then IMHO, we can just use |
gtk/docs.md
Outdated
@@ -353,3 +353,13 @@ See also the `Widget:tooltip-markup` property and | |||
`Tooltip::set_markup`. | |||
## `markup` | |||
the contents of the tooltip for `self`, or `None` | |||
<!-- impl FileChooserDialog::fn with_buttons --> | |||
This function creates a `FileChooserDialog` with buttons: | |||
```no_run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an empty line before this one (we'll have rendering issues with the current rustdoc otherwise).
gtk/docs.md
Outdated
This function creates a `FileChooserDialog` with buttons: | ||
```no_run | ||
let dialog = FileChooserDialog::with_buttons::<Window>( | ||
Some("Open File"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add two more whitespaces in order to fix the indent for each line please?
eff31e9
to
49f9699
Compare
Fixed |
Thanks! |
It seems that this commit broke CI for |
Yes, I used wrong code: |
Part of gtk-rs/gtk#602
cc @demurgos, @GuillaumeGomez