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
Show own e-mail-address instead of "Me" (configuarable) #866
Show own e-mail-address instead of "Me" (configuarable) #866
Conversation
Can this be configurable - I quite like 'Me' :-) |
Thanks a lot for the quick fix! :) I agree. Maybe something in line with |
I think there's two distinct issues here.
Are you trying to solve both at the same time? ~ jonathan On 09/27/2014 10:20 AM, Robert Orzanna wrote:
|
Is this related to what this add-on tries to solve? https://addons.mozilla.org/en-US/thunderbird/addon/disable-you/?src=search |
Yes, the addon you mention tries to solve the first issue, although it ~ jonathan On 09/27/2014 01:14 PM, Robert Orzanna wrote:
|
So the second issue you mentioned only occurs when sending E-Mails to oneself? I never looked into that so I will do this maybe on Monday. Would you prefer that I add an option to switch whether "Me" or the full address is showing? Then new language-strings would be needed, I guess. |
The second issue occurs only when hitting "show details" for an email The first issue can be controlled via a pref, I guess I'm ok with adding ~ jonathan |
…"no_friendly-address"-property is set
… me" if "no_friendly_address"-option is set
…r the full own e-mail-address should be shown.
69bc807
to
25c8f7b
Compare
The updated patch adds an option to show the full e-mail-address instead of "me". The only occation where "me" is still shown is in the tooltip, when hovering over the own address. However, the own e-mail-address is shown there under "me" so this shouldn't be a problem. I'll have a look at the second issue soon and submit an extra patch for that. |
I've merged your pull request. Let me know if you need any pointers for Cheers, ~ jonathan On 09/29/2014 04:35 AM, pianoslum wrote:
|
Ok I just realized that this was the second bit. The behavior for "not-me" email addresses is as follows:
The behavior for "me" email addresses is as follows (without your option):
The behavior for "me" email addresses is as follows (with your option):
I'm inclined to merge this, as people have been requesting this pretty often. I'm just wondering if we could do better by displaying, for instance, with your option:
So that the user can still easily see that the email is addressed to them... or maybe it's overkill? Thoughts? |
I am actually quite indifferent about this... Your solution could be the best of both worlds (even without an extra option), but I'd like to hear the opinion of the people who asked for this fix! |
You're right, that solution would work and would save the need for an
~ jonathan On 11/05/2014 01:00 PM, pianoslum wrote:
|
Very smart solution. I support it. Thanks for the efforts. |
How can I get the number of registered identities? Edit: |
Good point. gIdentities is in modules/stdlib/misc.js; I'm not sure the API is A call to fillIdentities has to be made on startup, which means that if I suggest you create a new function in stdlib called allIdentities() gIdentities would then be marked as deprecated. Let me know if that's asking too much and I'll take care of it. The ~ jonathan On 11/07/2014 08:29 PM, pianoslum wrote:
|
Well I can try... I'll just ask when I'm stuck ;) |
Maybe you could return a list of objects : { isDefault: bool, identity: nsIMsgIdentity } (the email property would then be accessible as x.identity.email) You can also export a second function : function getDefaultIdentity() { (Using the new experimental function-syntax and Array.prototype.find) Nntp is newsgroups. We usually don't want these identities in the ~ jonathan On 11/08/2014 07:47 AM, pianoslum wrote:
|
This should fix issue #859 .
Maybe some locale-strings are obsolete by now. Should I remove them and make a commit?