Menu

#10 Features for profiles

open
nobody
None
5
2009-09-08
2009-09-08
No

I read this on the feature requests page, and I agree:

Great project, I'm glad I found it.
I use it to check four accounts across 3 hosted domains. It would be nice
if the "checking gmail" and password dialogs mention which profile they're
popping up for.
-- Anon

I've hacked in a way to display the profile name in the title of the preferences window and as a label at the top of the login prompt (didn't fit in the title since the window is so small). In both cases it basically adds "Profile: $profile" so that the user can tell which instance of checkgmail created the prompt. For those who don't speak English, I created a 'profile="Profile:" type entry in the translations section, and tried to provide rough translations for all the included languages using Google Translate, Webster's Online Dictionary Translations, etc to keep the interface international. I wouldn't put much stock my Chinese or Tamil ;)

Also, I added a bit so that the pop-up window will display the account name ($user@gmail.com) when it is displaying the status of the inbox. It's in "small" text (same size as the time) to make it fairly unobtrusive.

Both the above features are only active if the '-profile=' flag was used; otherwise there's no visible changes to the interface.

Patch applies the usual way:
cd path/to/checkgmail; patch -p0 < checkgmail_profiles.diff

Discussion

  • Adam Verigin

    Adam Verigin - 2009-09-08

    Patch to add features for profiles. Diff'd from v1.13svn (current svn).

     
  • Adam Verigin

    Adam Verigin - 2009-09-10

    Found one small error:
    After patching, line 4751 begins "prefs_profile:...", but should be "profile:..."

     

Log in to post a comment.