Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets Gmail Applet
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] Gmail Applet [Bug #221]
Page : 1 2 3 4
jesuisbenjamin English 77 matttbe [Read]
26 May 2014 à 16:08

jesuisbenjamin, Tuesday 23 August 2011 à 22:30


Subscription date : 28 October 2009
Messages : 415
@taiebot: thanks

jesuisbenjamin, Tuesday 23 August 2011 à 22:54


Subscription date : 28 October 2009
Messages : 415
OK branches have diverged for some reason which i don't understand. I guess i'm going to learn something new soon.

matttbe, Tuesday 23 August 2011 à 23:56


Subscription date : 24 January 2009
Messages : 12573
Hello,

Don't worry about bzr, it's just easier for us (but it should be easier for you too )
About your branch it seems that this file is missing: menu.py
Can you add it?
bzr add menu.py
bzr whoami "jesuisbenjamin <jesuisbenjamin@....com>" ## don't forget '<' and '>'.
bzr commit -m "(...)"
bzr push lp:~jesuisbenjamin/cairo-dock-plug-ins-extras/Gmail


This is what I recommend about bzr:
  • Use the terminal to add, move and delete file with
    bzr add FILES, bzr mv FILE FILE2, bzr rm FILES
  • Before committing and pushing, check if there is a new version with
    bzr pull
  • if you've pushed something but this branch is not merged, commit and push your modifications on the same branch (don't pull anything before the merge of your branch into the trunk)
  • if your branch has been merged, launch this command asap
    bzr pull
    if you have some conflicts, try to resolve them (simply read what's wrong and use bzr conflict-diff command) or simply re-download the branch...
    bzr branch lp:(...)


PS: of course you can use ground-control but I don't know if it works great or not.

jesuisbenjamin, Wednesday 24 August 2011 à 00:04


Subscription date : 28 October 2009
Messages : 415
OK thank, no matter what i do though (even adding this menu.py which should not be there anyway) returns an error "These branches have diverged."

What to do with that?

matttbe, Wednesday 24 August 2011 à 00:06


Subscription date : 24 January 2009
Messages : 12573
Can you try to push your modifications on another branch?

even adding this menu.py which should not be there anyway
Why? If I try to launch your GMail applet, this is what I have:
Traceback (most recent call last):
File "./Gmail", line 32, in <module>
from menu import Menu # home-made module for left-click menu

jesuisbenjamin, Wednesday 24 August 2011 à 00:09


Subscription date : 28 October 2009
Messages : 415
matttbe :
Can you try to push your modifications on another branch?

even adding this menu.py which should not be there anyway
Why? If I try to launch your GMail applet, this is what I have:
Traceback (most recent call last):
File "./Gmail", line 32, in <module>
from menu import Menu # home-made module for left-click menu


OK well i messed up: as i said i've struggled with bzr and now i've pushed a version that's not supposed to be up there yet.
How do i push to another branch?

matttbe, Wednesday 24 August 2011 à 00:38


Subscription date : 24 January 2009
Messages : 12573
How do i push to another branch?
Simply launch this command:
bzr push lp:~jesuisbenjamin/cairo-dock-plug-ins-extras/Gmail2

jesuisbenjamin, Wednesday 24 August 2011 à 10:58


Subscription date : 28 October 2009
Messages : 415
OK I think i did what I had to do (although it took me again 5 attempts to do it properly) I don't understand why i'm at all pushing to a path ../Gmail while in fact i am pushing all applets shouldn't my branch be lp:~jesuisbenjamin/cairo-dock-plug-ins-extras ? then? Or shouldn't I somehow push the Gmail folder only?

matttbe, Wednesday 24 August 2011 à 11:50


Subscription date : 24 January 2009
Messages : 12573
In fact, this command:
bzr push
pushes all modifications that you did on the branch (even if you only modify the Gmail folder => so you create a fork of this cairo-dock-plug-ins-extras branch with the name Gmail2 (or something else) and only jesuisbenjamin can push its modifications on this branch => this is why you use ~jesuisbenjamin/cairo-dock-plug-ins-extras/Gmail2).
You can push your modifications on a branch with the name that you want to have (Gmail, my_new_applet, Gmail_beta2)

EDIT: thank you for your modifications

jesuisbenjamin, Wednesday 24 August 2011 à 12:00


Subscription date : 28 October 2009
Messages : 415
OK well that's that done now thanks for your help.

Next step is to find out how to add a left-click menu.

And if all this works, I can adapt the applet to other services.

fabounet, Wednesday 24 August 2011 à 12:45


Subscription date : 30 November 2007
Messages : 17118
get_config is only for getting the parameters from the config file, if you want to do anything else during the reload, please use the on_reload (I think it's the name) method

about the mail counter, why not a quick-info ? it exists for this purpose.

jesuisbenjamin, Wednesday 24 August 2011 à 12:49


Subscription date : 28 October 2009
Messages : 415
Quickinfo is available too, i want a nice-looking SVG for myself and add it as an option for whoever enjoys it as well.

I'll use reload() then.

fabounet, Wednesday 24 August 2011 à 12:59


Subscription date : 30 November 2007
Messages : 17118
isn't it possible to have this look with a quick-info ?
can we have a screenshot ?

jesuisbenjamin, Wednesday 24 August 2011 à 13:07


Subscription date : 28 October 2009
Messages : 415
Sure:

large emblem:
https://lh3.googleusercontent.com/-KrszQJ3_1CU/TlTasDMKyOI/AAAAAAAACeM/Fb-EQzHUP18/emblem-large.png

small emblem:
https://lh5.googleusercontent.com/-9r_If0DtP4k/TlTasPhwoJI/AAAAAAAACeQ/vSH9MzIf7CQ/emblem-small.png

BTW these are not emblems proper anymore. Rather than applying an emblem, I create another Icon which replaces the plain one. This allows more possibilities in looks (like the large one which Matttbe asked for).

fabounet, Wednesday 24 August 2011 à 13:23


Subscription date : 30 November 2007
Messages : 17118
oh I see, so at the minimum the quick-info config should contain an image background (currently it only has a color background)

but I'm not sure I want to allow per-icon quick-infos
I tend to think that quick-info are made to display some text info, and as labels, should be homogeneous in the dock
and emblems are for displaying visual information (like we can see on the firefox icon) and can be different for each icon.

about emblem size, it's currently homogeneous in the dock (1/2 icon size, so 1/4 icon surface), which I thought to be a good compromise on emblem visiblility VS icon visibility.

matttbe, Wednesday 24 August 2011 à 13:25


Subscription date : 24 January 2009
Messages : 12573
@ fabounet: it can be interesting to customise these 'quick-info' like that
Or a new 'number-quick-info'

jesuisbenjamin, Wednesday 24 August 2011 à 14:20


Subscription date : 28 October 2009
Messages : 415
fabounet :
I'm not sure I want to allow per-icon quick-infos


I agree, that would be dodgy. What you see here is merely a coping with the lack of customisation of the quick-info.
Moreover you should see it as a theme-based emblem. But at the moment there the Gmail applet's only designed in Faenza style, which matches overal in that theme accross the dock (see Firefox icon's indicator). If indeed there was a possibility to customise the emblem dock-wide: that's what I would use.

I don't know to what extent the shadow effect can be reproduced using Cairo/OpenGl though, but I still like my SVG best for now

fabounet, Thursday 25 August 2011 à 17:09


Subscription date : 30 November 2007
Messages : 17118
easy, with a background image
I'm going to add a task for this

matttbe, Thursday 25 August 2011 à 18:11


Subscription date : 24 January 2009
Messages : 12573
But not only the background, the placement and the size too

jesuisbenjamin, Thursday 25 August 2011 à 21:53


Subscription date : 28 October 2009
Messages : 415
Well I'm curious about seeing the result then

Applets | Applets

Subjects Author Language Messages Last message
[Locked] Gmail Applet [Bug #221]
Page : 1 2 3 4
jesuisbenjamin English 77 matttbe [Read]
26 May 2014 à 16:08


Glx-Dock / Cairo-Dock List of forums Applets | Applets Gmail Applet Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.