"Close Playlist" dialog ignores GTK dialog button order
|Status:||Closed||Start date:||November 26, 2012|
When gtk-alternative-button-order=0, GTK+ applications are supposed to put the OK/Yes/Confirm button to the right of the Cancel/No button. (GNOME/MacOS order)
However, contrary to every other application on my desktop (including Qt applications via GtkStyle), Audacious's "Close Playlist" dialog uses KDE/Windows button order and puts "Yes" to the left of "No".
#1 Updated by Thomas Lange 6 months ago
- File confirm.patch added
- Category changed from plugins/gtkui to libaudgui
Thanks for your bug report Stephan.
The bug is caused by using a GtkWindow with custom content instead of a GtkMessageDialog.
Attached is a patch which fixes this. John, please review.
Should I use a gpointer parameter in "confirm_delete_cb()"?
#2 Updated by John Lindgren 6 months ago
Looks good. Personally I prefer (void *) instead of gpointer, int instead of gint, etc.