After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728846 - GtkDialog: Support adding action widgets in ui files
GtkDialog: Support adding action widgets in ui files
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-04-24 05:40 UTC by Matthias Clasen
Modified: 2014-04-26 02:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support adding action widgets in ui files (3.71 KB, patch)
2014-04-24 05:40 UTC, Matthias Clasen
none Details | Review
improve handling of suggested-action (3.27 KB, patch)
2014-04-24 05:40 UTC, Matthias Clasen
none Details | Review
add tests (2.31 KB, patch)
2014-04-24 05:41 UTC, Matthias Clasen
none Details | Review
dist test files (655 bytes, patch)
2014-04-24 05:41 UTC, Matthias Clasen
none Details | Review
Support adding action widgets in ui files (3.71 KB, patch)
2014-04-25 03:33 UTC, Matthias Clasen
none Details | Review
improve handling of suggested-action (3.92 KB, patch)
2014-04-25 03:33 UTC, Matthias Clasen
none Details | Review
add tests (2.31 KB, patch)
2014-04-25 03:34 UTC, Matthias Clasen
none Details | Review
dist test files (655 bytes, patch)
2014-04-25 03:34 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2014-04-24 05:40:03 UTC
Created attachment 275022 [details] [review]
Support adding action widgets in ui files

GtkDialog has convenience API for adding action widgets that are
either placed in the action area or the headerbar. This commit
makes the same functionality available from GtkBuilder ui files
by specifying "action:<id>" as the child type.
Comment 1 Matthias Clasen 2014-04-24 05:40:36 UTC
Created attachment 275023 [details] [review]
improve handling of suggested-action
Comment 2 Matthias Clasen 2014-04-24 05:41:01 UTC
Created attachment 275024 [details] [review]
add tests
Comment 3 Matthias Clasen 2014-04-24 05:41:30 UTC
Created attachment 275025 [details] [review]
dist test files
Comment 4 Matthias Clasen 2014-04-25 03:33:17 UTC
Created attachment 275097 [details] [review]
Support adding action widgets in ui files
Comment 5 Matthias Clasen 2014-04-25 03:33:41 UTC
Created attachment 275098 [details] [review]
improve handling of suggested-action
Comment 6 Matthias Clasen 2014-04-25 03:34:07 UTC
Created attachment 275099 [details] [review]
add tests
Comment 7 Matthias Clasen 2014-04-25 03:34:31 UTC
Created attachment 275100 [details] [review]
dist test files