Re: [gedit-list] How to extend gedit(add a menu item when right clicking on the tab of a file)?



You can use External Tools plugin. and you can configure it to execute a cp command when press X configured key.

You can take a look at http://live.gnome.org/Gedit/ExternalToolsPluginSnippets to see some snippets and examples.



On mié, 2008-07-30 at 21:33 +0800, Star Liu wrote:
I use gedit as my main text editor, and i want to make an extension to
it. For example, I often need to copy a file from ~/www/wwwd/ into
~/www/ after the file is modified.  Everytime I need to manually copy
the file, it's not convinient, I hope I can right click on the tab of
the file in gedit, and there is a "copy to ~/www/" option in the
context menu, then I just need to click this option.

I'm a newbie in developing in linux(I'm a windows developer), so i
hope someone could give me some guide on how to do this small
"project", i believe i will do it well with your help :)
_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list

 
Pulse para ir al sitio web  
Jesús Barbero Rodríguez
Departamento de Análisis y Programación - Desarrollo tecnológico
Zoco Gran Santander, 1ª Planta ■ 39011 Peñacastillo ■ Santander ■ ESPAÑA

Tel.: +34 902 233 323 ■ Fax: +34 902 234 280




AVISO LEGAL: Este mensaje contiene información destinada exclusivamente al usuario de destino, pudiendo contener información confidencial o protegida legalmente. Si, por un error de envío o transmisión, ha recibido este mensaje y usted no es el destinatario del mismo, por favor, notifique de este hecho al remitente y no use, informe, distribuya, imprima, copie o difunda este mensaje bajo ningún medio . Cualquier opinión en él contenida, es exclusiva de su autor y no representa necesariamente la opinión de Quiter Servicios Informáticos, S.L.

LEGAL WARNING: This e-mail and any attachment, contain information intended solely for the addressee and may contain confidential information or legally protected data. If you are not the intended recipient, please notify the sender and do not use, disclose, distribute, copy, print or rely on this e-mail under any circumstances. The views and opinions expressed are the authorŽs own and do not necessarily reflect those of Quiter Servicios Informáticos, S.L.  






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