Re: Adding icons to task bar
Dave Smith <[email protected]>
| Newsgroups | gmane.comp.gnome.ximian.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for that information. I will play with it this weekend. On Fri, 2004-04-30 at 18:34, guenther wrote: > > > > Is it possible to modify the task bar at the top of Evolution by > > > > adding or deleting icons? I am using version 1.4. > > > > > > Yep, this is possible in most cases. > > > > > > Unless you want to learn that black art, you could tell me what you > > > want. There is no GUI available for this, but it needs only hacking some > > > XML files. An example will make learnig about this stuff easier, if you > > > are interested. > > > > I wanted to add the "reply to list" option ... > > So here we go. Attached are 2 patches that add the desired button and > assign a Ctrl-L accelerator shortcut for Replying to List [1]. > > > Most parts of the toolbar and menus (including shortcuts) are defined by > the XML files in /usr/share/evolution/1.4/ui/ -- YMMV, the actual path > depends on the distribution [2]. > > To apply the accelerator patch for instance, run the following command > as root (adjust the path if needed): > > # patch -d /usr/share/evolution/1.4/ui/ < MessageReplyList-accel.patch > > > The button patch can be applied just like this. > > If you wanna start hacking on your own, be careful and backup those > files. If they are invalid, Evo won't start up. Best approach to start > would be having a close look at those XML files. > > Some notes: > > 1) The priority defines, if the text will be displayed always or > depending on the context. Priority 0 should disable the text in "Text > beside Icons" context [1] just like the Trash button. > 2) Assigning real custom icons is the darkest part of this black magic, > which I coincidentally found out just some weeks ago. Yes! :-) > > > Hope this solves your request... > > ...guenther > > > [1] This patch actually went in into official Evolution 1.4.7. > [2] SuSE definitely uses another path, but I forgot. Anyone else? > [3] run gnome-ui-properties >