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 525191 - GtkMessageDialog::buttons and related stuff should be deprecated
GtkMessageDialog::buttons and related stuff should be deprecated
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.12.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 347771
 
 
Reported: 2008-03-30 21:19 UTC by Matthias Warkus
Modified: 2010-07-10 03:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Matthias Warkus 2008-03-30 21:19:15 UTC
Through the ::buttons property, GtkMessageDialog encourages developers to use OK/Cancel and Yes/No dialogs, which goes against the principles of the HIG. The property along with the GtkButtonsType enum should be deprecated; passing something other than GTK_BUTTONS_NONE as the buttons parameter to the _new functions should throw a warning.

Other information:
Comment 1 Sven Herzberg 2008-03-30 21:26:40 UTC
Post 3.0…
Comment 2 Matthias Clasen 2010-07-10 03:37:04 UTC
We've documented OK, YES_NO and OK_CANCEL as 'discouraged by the GNOME HIG'