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

Re: gEDA-user: Unwanted compent markings



On Sat, 28 Jul 2007 15:41:57 -0400, DJ Delorie wrote:

>> Can the labels be fixed/locked to the component? I tend to turn or move
>> the labels of small SMD parts instead of getting the component itself.
> 
> Recent pcb's can.  In lesstif, it's view->lock names, or in gtk you can
> :Display(ToggleLockNames)

I modified the menu definition of the gtk GUI so that it contains this 
action too. It wasn't that difficult -- Just two lines of copy-paste from 
the lesstif resource file to src/gpcb-menu.res . Here is the patch:

/----------------------------
--- gpcb-menu.res	2007-06-21 15:51:42.000000000 +0200
+++ gpcb-menu.res_orig	2007-06-21 15:55:40.000000000 +0200
@@ -199,8 +199,6 @@
    {"Thin draw" checked=thindraw Display(ToggleThindraw) a={"|" 
"<Key>|"}}
    {"Thin draw poly" checked=thindrawpoly Display(ToggleThindrawPoly) a=
{"Ctrl-Shift-P" "Ctrl Shift<Key>p"}}
    {"Check polygons" checked=checkplanes Display(ToggleCheckPlanes)}
-   {"Lock Names" checked=locknames Display(ToggleLockNames)}
-   {"Only Names" checked=onlynames Display(ToggleOnlyNames)}
    -
    {"Vendor drill mapping" ToggleVendor() checked=VendorMapOn}
   }
\---------------------------------

In other words, just copy the lines that start with 
  {"Lock Names...  
and 
  {"Only Names...
above the line that starts with 
  {"Vendor drill...

---<(kaimartin)>---
-- 
Kai-Martin Knaak                                  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik      fax: +49-511-762-2211	
Welfengarten 1, 30167 Hannover           http://www.iqo.uni-hannover.de
GPG key:    http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user