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="\10pse\0r\0dtu\0 ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; 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; }}}
Attachment:
Exit-remove-accel.patch
Description: Text Data
Attachment:
MarkAsRead-accel.patch
Description: Text Data