[gedit-list] Accelerators in plugins



Hi,

I'm writing a small plugin in Python. I'd like to set up persistent
accelerators for some actions.

I saw that there is an AccelMap, and my accel paths are stored in
~/.gnome2/accelsgedit (BTW, why not ~/.gnome2/acces/gedit?) but by the
time I plug my ActionGroup, the accel paths are already gone, I can't
get them back.

Do you know how I could do that (or fix it in gedit trunk, if needed)? I
though I could save some entries in gconf, or in another AccelMap, but
it doesn't seem so neat to me.

Kind regards,

-- 
Simon van der Linden <simon vanderlinden agora eu org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]