-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sound prefs tab redesign #143
Conversation
It’s very good, see #91 ;-) |
Is this a real issue ? |
@illwieckz in practice no, but your terminal will be filled with attempts to play a directory. |
Fixed both issues. It does throw warnings into terminal on save though. Please merge. |
The configuration window does not show which sounds is configured when you reopen the configuration window (it displays none even if a sound is configured). |
Also, we can both configure the player and play a sound in the configuration window, but you can't play the sound if you have not yet save the configuration before. I mean, you pick a player binary, you want to prelisten, it says the binary is not found, you must save before. [Edit, the issue was probably there before, but it could be good to fix it too] |
but thank you, it's a good work. 😃 |
|
|
Thanks for this good work. |
Thanks for great patches like this one, @skybon! |
Remember Sound notifications tab in Preferences window? This is how it looks like now:
It works this way:
While it works right now, it poses several design and technical problems that we need to solve sooner or later:
Hello, 1998!
Needless to say that if we plan to keep up wth GTK+ devs we need to move ASAP. Therefore:
The new and redesigned sound preferences tab
file_dialog_button (char *file)
function for quick addition of generic FileChooserButton.Why [IN PROGRESS] tag? There are two bugs I have not been able to solve yet.
Didn't find a way to manually make FileChooser empty on launch. Results in working directory (~) being selected if the sound is unset.
get_new_defaults()
fails to readGtkFileChooser
contents on save:assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed
(fails to read GtkFileChooserButton properly)
Only applies to FileChoosers inside
pref_sound_conf_append
- scope related?This is my first major GUI coding attempt. Any feedback and bug fixes are welcome.