> Is there an easy way to disable Ctrl-Q or assign it a different
> action?
Well, depends on your definition of easy. ;)
> Ctrl-Q means mark as read in Outlook which I do as a habit before
> deleting a group of messages to keep the Deleted folder from showing
> hundreds of unread messages which I find annoying.
>
> Unfortunately, in Evo you use Ctrl-K for mark as read and Ctrl-Q means
> quit. I hate it when I accidentally quit Evo when I'm in the middle of
> deleting e-mails.
The attached patches will remove the Ctrl-Q accelerator for File / Exit
and assign it to Edit / Mark As Read.
Apply the patches running a command like this as root:
patch -d $prefix/share/evolution/1.5/ui/ < $patch
You will need to adjust $prefix and the actual patch file name, of
course. (Note: This applies to your current Evolution version. It's 2.0
rather than 1.5 since Evolution 1.5.94.1.)
Assigning Shift-Ctrl-Q to Edit / Mark As Unread doesn't seem to be that
easy though, as this accel is used by Search / Clear -- which
unfortunately isn't defined in those XMl files.
Although Ctrl-Q is the standard Gnome accel for Exit, you actually can
change this for Evolution. You may run into problems with other Gnome
apps if you get used to it...
...guenther
--
char *t="[EMAIL PROTECTED]";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
--- evolution.xml.src 2004-09-07 02:42:03.000000000 +0200
+++ evolution.xml 2004-09-07 02:42:25.000000000 +0200
@@ -8,7 +8,7 @@
pixtype="stock" pixname="gtk-close" accel="*Control*w"/>
<cmd name="FileExit" _label="E_xit" _tip="Exit the program"
- pixtype="stock" pixname="gtk-quit" accel="*Control*q"/>
+ pixtype="stock" pixname="gtk-quit"/>
<cmd name="ViewToolbar" _label="T_oolbar" type="toggle"
_tip="Change the visibility of the toolbar" state="1"/>
--- evolution-mail-message.xml.src 2004-09-07 02:47:35.055063926 +0200
+++ evolution-mail-message.xml 2004-09-07 02:47:53.094152704 +0200
@@ -86,7 +86,7 @@
<cmd name="MessageMarkAsRead"
_tip="Mark the selected message(s) as having been read"
- accel="*Control*k"
+ accel="*Control*q"
pixtype="pixbuf"/>
<cmd name="MessageMarkAsUnRead"