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 750987 - UI: Update the preferences dialog
UI: Update the preferences dialog
Status: RESOLVED FIXED
Product: almanah
Classification: Other
Component: General
0.11.x
Other Linux
: Normal enhancement
: ---
Assigned To: diary-maint
diary-maint
Depends on:
Blocks:
 
 
Reported: 2015-06-15 10:53 UTC by Álvaro Peña
Modified: 2015-08-18 18:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
UI: Removed preferences dialog "Close" button (3.21 KB, patch)
2015-06-15 13:33 UTC, Álvaro Peña
committed Details | Review
UI: Preferences window, transient for main window (934 bytes, patch)
2015-06-15 13:33 UTC, Álvaro Peña
committed Details | Review
UI: Removed preferences dialog redundant title (1.16 KB, patch)
2015-08-13 17:10 UTC, Álvaro Peña
committed Details | Review
UI: Replaced deprecated GtkTable by GtkGrid (4.49 KB, patch)
2015-08-13 17:10 UTC, Álvaro Peña
committed Details | Review

Description Álvaro Peña 2015-06-15 10:53:18 UTC
Update the look of the preferences dialog following the last HIG recommendations: https://developer.gnome.org/hig/stable/dialogs.html.en

Remove deprecated widgets too.
Comment 1 Álvaro Peña 2015-06-15 13:33:22 UTC
Created attachment 305298 [details] [review]
UI: Removed preferences dialog "Close" button

Following the HIG recommendations, the "close" button is not
required in the preferences dialog, instead, we are going to use a
HeaderBar (with a close button)

See
Comment 2 Álvaro Peña 2015-06-15 13:33:27 UTC
Created attachment 305299 [details] [review]
UI: Preferences window, transient for main window

See
Comment 3 Álvaro Peña 2015-06-15 13:34:48 UTC
I'm working on it, remains the GtkTable stuff...
Comment 4 Philip Withnall 2015-06-16 15:59:57 UTC
Review of attachment 305298 [details] [review]:

++
Comment 5 Philip Withnall 2015-06-16 16:00:27 UTC
Review of attachment 305299 [details] [review]:

++
Comment 6 Philip Withnall 2015-06-16 16:03:50 UTC
A couple of things I noticed while testing this:
 • The dialogue title should be ‘Preferences’ rather than ‘Almanah Preferences’ — the ‘Almanah’ is redundant if it’s a modal dialogue.
 • The ‘New Key’ button opens Seahorse, but doesn’t open a window for creating a new key, so the user could easily get confused.
 • The dialogue is resizable so I can make it really tall and have lots of blank space at the bottom. It probably shouldn’t be resizable, but should perhaps be a bit wider by default.
 • In fact, perhaps the ‘New Key’ button should be on a new line, along with a bit of text explaining what the encryption key is used for — that it should be one of your keys, and that if you delete the key you will lose access to the diary forever. Or something like that.
Comment 7 Álvaro Peña 2015-06-18 07:58:38 UTC
(In reply to Philip Withnall from comment #6)
> A couple of things I noticed while testing this:
>  • The dialogue title should be ‘Preferences’ rather than ‘Almanah
> Preferences’ — the ‘Almanah’ is redundant if it’s a modal dialogue.

Totally agree.

>  • The ‘New Key’ button opens Seahorse, but doesn’t open a window for
> creating a new key, so the user could easily get confused.
>  • The dialogue is resizable so I can make it really tall and have lots of
> blank space at the bottom. It probably shouldn’t be resizable, but should
> perhaps be a bit wider by default.
>  • In fact, perhaps the ‘New Key’ button should be on a new line, along with
> a bit of text explaining what the encryption key is used for — that it
> should be one of your keys, and that if you delete the key you will lose
> access to the diary forever. Or something like that.

I'm thinking in a redefinition of the encryption interaction (https://bugzilla.gnome.org/show_bug.cgi?id=676829) Perhaps is not necessary to open Seahorse because is possible to create a new key with GPGMe.

I'm going to update the 'New Key' button as you point, but we can continue the key/encryption/security discussion in 676829.
Comment 8 Álvaro Peña 2015-06-18 07:59:05 UTC
Review of attachment 305298 [details] [review]:

Done.
Comment 9 Álvaro Peña 2015-06-18 07:59:19 UTC
Review of attachment 305299 [details] [review]:

Done
Comment 10 Álvaro Peña 2015-08-13 17:10:34 UTC
Created attachment 309227 [details] [review]
UI: Removed preferences dialog redundant title

The "Almanah" word has been removed from the preferences dialog title.
Comment 11 Álvaro Peña 2015-08-13 17:10:39 UTC
Created attachment 309228 [details] [review]
UI: Replaced deprecated GtkTable by GtkGrid
Comment 12 Philip Withnall 2015-08-18 07:37:44 UTC
Review of attachment 309227 [details] [review]:

Looks good to me.
Comment 13 Philip Withnall 2015-08-18 07:45:52 UTC
Review of attachment 309228 [details] [review]:

Looks good to me!
Comment 14 Álvaro Peña 2015-08-18 08:36:27 UTC
Thanks Philip for taking time to review the patches. Kudos for you.
Comment 15 Álvaro Peña 2015-08-18 18:10:08 UTC
Attachment 309227 [details] pushed as 8e9d351 - UI: Removed preferences dialog redundant title
Attachment 309228 [details] pushed as 4ee15e5 - UI: Replaced deprecated GtkTable by GtkGrid