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 727069 - Show a close button instead of done button in the preferences dialog
Show a close button instead of done button in the preferences dialog
Status: RESOLVED FIXED
Product: gnome-sound-recorder
Classification: Other
Component: General
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-sound-recorder maintainer(s)
gnome-sound-recorder maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-03-26 03:00 UTC by Yosef Or Boczko
Modified: 2014-04-14 03:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
preferences.js: Show a close button instead of the done button in the headerbar (1.86 KB, patch)
2014-03-26 03:01 UTC, Yosef Or Boczko
committed Details | Review

Description Yosef Or Boczko 2014-03-26 03:00:18 UTC
In the current preferences there is only done button at the end,
but there isn't title to the dialog.

I removed the done button, and instead I added the close button from
the headerbar.
Comment 1 Yosef Or Boczko 2014-03-26 03:01:29 UTC
Created attachment 272951 [details] [review]
preferences.js: Show a close button instead of the done button in the headerbar
Comment 2 Meg Ford 2014-03-26 15:23:42 UTC
tldr: I think it might be better to keep the done button and add a cancel button. This requires adding some code to check the format currently set for the recording when the dialog is launched, save it, and then revert to it if the cancel button is pressed. If you are interested in writing a patch for that I'm happy to accept one :)

During design review it was suggested that the different formatting options and the volume controls be removed from the dialog. I'm going to be removing the volume controls this cycle. I think I will keep the formatting options but change the default to FLAC and also add automatic transcoding when a file is shared.
Comment 3 Meg Ford 2014-03-28 18:33:17 UTC
However, Allan just commented on a different bug and pointed out these guidelines: https://wiki.gnome.org/Design/HIG/Dialogs#Instant_.26_Explicit_Apply

which state that explicit apply should not be used unless necessary, so I'll look at your patch soon and most likely accept it.
Comment 5 Meg Ford 2014-04-14 03:16:46 UTC
Committed, closing the bug. Thanks again!