Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Customise the evolution menus
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Sat Feb 04, 2006 3:29 pm    Post subject: Customise the evolution menus Reply with quote

the quick answer:
as root, edit /usr/share/evolution/2.10/ui/evolution-mail-message.xml
(change 2.10 to your version, pick another file from that folder if you want to edit a different toolbar)

Have you noticed that evolution's toolbar is so wide that you can't see all the icons on one screen?
Do you ever wonder why "Print" (which is a thing i never do) is to the left of "Junk" (which i use daily)?
Or why there's no shorcut key for "mark as junk" or "add sender to address book"
have you ever tried right- and middle-clicking on the toolbar to see if you can move the buttons around?

well i ran an search of my system
Code:
find / -type f -iname *evolution* -exec grep Junk /dev/null {} \;

and found where the toolbar and menus are defined.

it's very simple really -
the first half of the file lists all the functions on all the menus, with shortcut keys and tooltips and icon hints.
then there's a section called "keybindings" with a few more keyboard shortcuts
then all the menu names, and their contents,
and the last 50 lines or so are the main toolbar - all the buttons, in order, with their tooltips.

the modifications i make (for every new version since 2.2) are:
control-delete to send a message to the junk folder:
Code:
    <cmd name="MessageMarkAsJunk"
     _tip="Mark the selected messages as junk"
     accel="*Control*Delete"
     pixtype="pixbuf"/>

and a bit further down the file,
Code:

    <accel verb="MessageMarkAsJunk"      name="*Control*KP_Delete"/>


so easy.
i've been googling for days, doing searches like "Ximian Evolution Junk Not Junk" and "Evolution toolbar move copy print". hopefully this post will save someone else the trouble.
(ps if the file isn't there for you, try
/usr/share/gnome/ui/evolution-mail-message.xml)

ahhhh, finally.


Last edited by radagast on Mon Aug 27, 2007 4:22 am; edited 1 time in total
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Mon Feb 06, 2006 3:44 am    Post subject: Reply with quote

I'll definitely use this. Thanks.
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Phoenix, AZ USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Mon Feb 06, 2006 4:20 am    Post subject: Reply with quote

I already knew this because I hunted around for EVER trying to enable a shortcut for Junk but thanks for posting it. I'm sure many people will want to know this.
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
viniosity
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 108
Location: DC

PostPosted: Fri Feb 10, 2006 1:51 am    Post subject: Reply with quote

What would be even more helpful would be to find a way to remap the delete button so it moves the message to the trash folder. Anyone know how to do that?
Back to top
View user's profile Send private message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Fri Feb 10, 2006 3:52 pm    Post subject: Reply with quote

that's what the delete button does do, for me...
Back to top
View user's profile Send private message
viniosity
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 108
Location: DC

PostPosted: Fri Feb 10, 2006 4:03 pm    Post subject: Reply with quote

radagast wrote:
that's what the delete button does do, for me...


Sorry, I should clarify that I want to do this for an IMAP account. Currently, evolution marks the message deleted but keeps it in the inbox. This is fine and good except when you log into your imap server via webmail. At that stage the inbox is littered with hundreds of deleted messages that evolution kept there. Your options are either to put up with it or purge them (thus losing them forever).

In the stage of GB email storage I'm really in no mood to lose any message forever unless it's spam. The workaround is that I manually move the message to a Trash folder on my server. It's really time consuming to do this when you get so much email so I'd like to create either a toolbar button or a key-binding that takes the selected message and moves it to the Trash folder.

edit: fixed a grammatical error
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum