GNOME Bugzilla – Bug 682105
Fixes for GtkNotification
Last modified: 2012-08-20 14:18:31 UTC
I have these fixes in Documents; see attached patches.
Created attachment 221610 [details] [review] notification: add a "show-close-button" property Sometimes we don't want to show a close button, e.g. when we're showing a progress notification of a print operation, or a "Loading" one. Add a property to disable that.
Created attachment 221611 [details] [review] notification: fix some GCC warnings Unused variables.
Created attachment 221612 [details] [review] notification: wire the hide() implementation in class_init Or it's completely ineffective
Created attachment 221613 [details] [review] notification: fixup size requisition functions - Use the right padding values when requesting the size - Rewrite get_preferred_height() using get_preferred_height_for_width()
Attachment 221610 [details] pushed as 91e763d - notification: add a "show-close-button" property Attachment 221611 [details] pushed as 8a69e41 - notification: fix some GCC warnings Attachment 221612 [details] pushed as 0569aa0 - notification: wire the hide() implementation in class_init Attachment 221613 [details] pushed as 253363e - notification: fixup size requisition functions