GNOME Bugzilla – Bug 353828
The play button is active when "No sound" is selected
Last modified: 2007-01-14 18:58:08 UTC
Hello. This is a bug originally reported in the Ubuntu bugtracker by Sylvain Defresne ( http://launchpad.net/bugs/32861 ) : When the "No sound" options is selected for an event, the play button is still active, but an error message is displayed when clicked. The button should be disabled when this option is selected, as no sound can be played.
Created attachment 72016 [details] [review] Proposed patch This is a patch attached to the original bug report. Thanks to Sylvain Defresne for hacking this up ( I speculate that it was .diff-ed against the version of control-center that comes with gnome 2.24)
*** Bug 333890 has been marked as a duplicate of this bug. ***
confirming report. first glance at the patch ... - GtkWidget *play_button; + // GtkWidget *play_button; this line should probably be simply removed. patch works for me.
*** Bug 385435 has been marked as a duplicate of this bug. ***
I've committed a modified version of the patch. Basically I just fixed the indentation, and used gtk_button_new_with_stock() rather than inserting a stock image into the button manually.