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 466499 - Missing mnemonics in editing pop account settings
Missing mnemonics in editing pop account settings
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.22.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
aklapper[mnemonics] ghop[2007-14]
Depends on:
Blocks: 324810
 
 
Reported: 2007-08-14 06:10 UTC by Lucky Wankhede
Modified: 2013-09-13 00:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Screenshot of missing mnemonics. (111.84 KB, image/png)
2007-08-14 06:12 UTC, Lucky Wankhede
  Details
The EDS half of the patches (920 bytes, patch)
2007-11-30 08:46 UTC, David Turner
needs-work Details | Review
The evolution half of the patches (784 bytes, patch)
2007-11-30 08:46 UTC, David Turner
needs-work Details | Review
Updated patch for the evolution half (746 bytes, patch)
2007-12-01 13:46 UTC, David Turner
needs-work Details | Review
Updated patch for the EDS half (3.24 KB, patch)
2007-12-01 14:13 UTC, David Turner
needs-work Details | Review
Evolution half of the patch, another update (1.12 KB, patch)
2007-12-01 18:50 UTC, David Turner
committed Details | Review
The EDS part of the patch, another update (4.70 KB, patch)
2007-12-01 18:52 UTC, David Turner
needs-work Details | Review
Yet another update to the EDS half (4.78 KB, patch)
2007-12-03 18:51 UTC, David Turner
committed Details | Review

Description Lucky Wankhede 2007-08-14 06:10:31 UTC
Missing mnemonics for 

1) Leave messages on server
2) Delete after [x] days.
3) Disable support for all POP3 extensions.

In Preferences edit pop mail account -> Receiving Options.

Other information:
Read the following before going ahead and assigning mnemonics.

http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html#choosing-access-keys
Comment 1 Lucky Wankhede 2007-08-14 06:12:07 UTC
Created attachment 93623 [details]
Screenshot of missing mnemonics.

Attaching screen shot of missing mnemonics.
Comment 2 David Turner 2007-11-30 08:46:00 UTC
Created attachment 99890 [details] [review]
The EDS half of the patches

Attached are the two patches to fix the bug at http://bugzilla.gnome.org/show_bug.cgi?id=466499
patch4_ESD.patch needs to be applied to the data server sources, while patch4_evolution.patch is applied to the evolution source

I used http://mail.gnome.org/archives/evolution-patches/2004-November/msg00209.html for the evolution half of the patch, and it might be helpful to open a bug for this patch at some point.
Comment 3 David Turner 2007-11-30 08:46:21 UTC
Created attachment 99891 [details] [review]
The evolution half of the patches

Attached are the two patches to fix the bug at http://bugzilla.gnome.org/show_bug.cgi?id=466499
patch4_ESD.patch needs to be applied to the data server sources, while patch4_evolution.patch is applied to the evolution source

I used http://mail.gnome.org/archives/evolution-patches/2004-November/msg00209.html for the evolution half of the patch, and it might be helpful to open a bug for this patch at some point.
Comment 4 Srinivasa Ragavan 2007-12-01 07:04:30 UTC
David, I think the first patch, similar work has to be done for other providers too. Only then it is complete. You have done for pop3 alone.

The evolution patch g_object_set_data is wrong. 'active' should be a state and not a data. you can use gtk_check* calls to set the active state. But this is definitely wrong.
Comment 5 David Turner 2007-12-01 13:46:14 UTC
Created attachment 99964 [details] [review]
Updated patch for the evolution half

I have updated the evolution half of the patch to use gtk_toggle_button_set_active (There didn't seem to be a gtk_checkbutton specific set_active function)

As for the other providers, IMAP in specific is being worked on by klossalex for http://bugzilla.gnome.org/show_bug.cgi?id=347317 - However I will fix the other providers.
Comment 6 David Turner 2007-12-01 14:13:25 UTC
Created attachment 99965 [details] [review]
Updated patch for the EDS half

I have now fixed POP, NNTP and local providers.

(To clarify, the reason I am leaving IMAP is because another GHOP participant is fixing that bug, and I'd rather not have them waste their time)
Comment 7 Srinivasa Ragavan 2007-12-01 17:18:35 UTC
David, just two more suggestions.

1. in the evolutoin patch you have to leave the existing g_object_set_data as it is. That is necessary.

2. In the EDS patch, the letter you gotto choose to be unique and easy to identify. For example, use the _S in the first character than some where in the middle. Just rework on that aspect. It is all fine to commit other wise.

Just look at the HACKING file for spacing, brace positions etc. It needs to match what the rest of the file looks like.

Also, patch should have a ChangeLog.

Thanks for your patch.
Comment 8 David Turner 2007-12-01 18:50:23 UTC
Created attachment 99987 [details] [review]
Evolution half of the patch, another update

Added a changelog and left in the old g_object_set_data.  Also fixed some spacing issues
Comment 9 David Turner 2007-12-01 18:52:50 UTC
Created attachment 99988 [details] [review]
The EDS part of the patch, another update

Added a changelog to the patch and changed some mnemonics to more appropriate letters
Comment 10 Milan Crha 2007-12-03 17:09:45 UTC
Add bug reference to ChangeLog, please.

eds patch: Even the patch from Bug 329578 is not committed yet, it uses "t" as mnemonic, please try to choose other letter. Thanks.

evo patch: Looks good to commit to trunk, but has no meaning without the eds part.
Comment 11 David Turner 2007-12-03 18:51:12 UTC
Created attachment 100132 [details] [review]
Yet another update to the EDS half

Yet another update to the EDS half - adds bug references to changelogs and fixes mnemonic clash
Comment 12 Milan Crha 2007-12-04 13:06:09 UTC
evo patch, I only fixed warning: em-account-editor.c:1905: warning: passing argument 1 of 'gtk_toggle_button_set_active' from incompatible pointer type

eds patch, ok. Both are able to hit trunk.
Comment 13 Milan Crha 2007-12-04 13:08:48 UTC
eds part committed to trunk. Committed revision 8267.
evo part committed to trunk. Committed revision 34645.