mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
add comments
This commit is contained in:
parent
b01d863492
commit
01bef05346
1 changed files with 2 additions and 0 deletions
|
|
@ -26,8 +26,10 @@ impl Widget {
|
||||||
.default_response(RESPONSE_CREATE.0)
|
.default_response(RESPONSE_CREATE.0)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
// Init response variants
|
||||||
gobject.add_responses(&[RESPONSE_QUIT, RESPONSE_CREATE]);
|
gobject.add_responses(&[RESPONSE_QUIT, RESPONSE_CREATE]);
|
||||||
|
|
||||||
|
// Decorate
|
||||||
gobject.set_response_appearance(RESPONSE_CREATE.0, ResponseAppearance::Suggested);
|
gobject.set_response_appearance(RESPONSE_CREATE.0, ResponseAppearance::Suggested);
|
||||||
gobject.set_response_appearance(RESPONSE_QUIT.0, ResponseAppearance::Destructive);
|
gobject.set_response_appearance(RESPONSE_QUIT.0, ResponseAppearance::Destructive);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue