customizing toolbars

2007-08-09 Thread Stefano Baroni

Hi! I'm using LyX 1.5.1 on Mac OS X 10.4.10 (PPC)

I would like to modify the content of some of the toolbars. The on- 
line help says that this can be done from the preference pane, but  
then it also adds that one should edit the default.ui file. Hence,  
not from the pref pane (???)


I expected to to find default.ui file in some /Library/Application  
Support/LyX// directory, but I could only find it in /Applications/ 
LyX.app/Contents/Resources/ui. Is this the intended location, or did  
the installer fail to copy some of the files to where they should  
belong?


I noticed that default.ui includes stdtoolbars.inc. I assume that I  
shuld copy all of these files to my /Users/Library/Application  
Support/LyX/ directory, and then modify stdtoolbars.inc ? Isn't there  
any ui-driven procedure to follow?


Many thanks - Stefano Baroni

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





Re: customizing toolbars

2007-08-09 Thread Bennett Helm

On Aug 9, 2007, at 7:41 AM, Stefano Baroni wrote:


Hi! I'm using LyX 1.5.1 on Mac OS X 10.4.10 (PPC)

I would like to modify the content of some of the toolbars. The on- 
line help says that this can be done from the preference pane, but  
then it also adds that one should edit the default.ui file. Hence,  
not from the pref pane (???)


You need to specify the .ui file you want from the preference pane.  
If you want to customize it, make a copy of default.ui, rename it,  
and place it somewhere else.


I expected to to find default.ui file in some /Library/Application  
Support/LyX// directory, but I could only find it in /Applications/ 
LyX.app/Contents/Resources/ui. Is this the intended location, or  
did the installer fail to copy some of the files to where they  
should belong?


The default one belongs (on Mac) in LyX.app/Contents/Resources/ui.  
The natural place for you to put a customized one would be in ~/ 
Library/Application Support/LyX-1.5/ui.


I noticed that default.ui includes stdtoolbars.inc. I assume that I  
shuld copy all of these files to my /Users/Library/Application  
Support/LyX/ directory, and then modify stdtoolbars.inc ?


No need to copy them if you don't need to modify them.


Isn't there any ui-driven procedure to follow?


No; not currently. (And I don't think there are any plans to do so.)

Bennett


customizing toolbars

2007-08-09 Thread Stefano Baroni

Hi! I'm using LyX 1.5.1 on Mac OS X 10.4.10 (PPC)

I would like to modify the content of some of the toolbars. The on- 
line help says that this can be done from the preference pane, but  
then it also adds that one should edit the default.ui file. Hence,  
not from the pref pane (???)


I expected to to find default.ui file in some /Library/Application  
Support/LyX// directory, but I could only find it in /Applications/ 
LyX.app/Contents/Resources/ui. Is this the intended location, or did  
the installer fail to copy some of the files to where they should  
belong?


I noticed that default.ui includes stdtoolbars.inc. I assume that I  
shuld copy all of these files to my /Users/Library/Application  
Support/LyX/ directory, and then modify stdtoolbars.inc ? Isn't there  
any ui-driven procedure to follow?


Many thanks - Stefano Baroni

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





Re: customizing toolbars

2007-08-09 Thread Bennett Helm

On Aug 9, 2007, at 7:41 AM, Stefano Baroni wrote:


Hi! I'm using LyX 1.5.1 on Mac OS X 10.4.10 (PPC)

I would like to modify the content of some of the toolbars. The on- 
line help says that this can be done from the preference pane, but  
then it also adds that one should edit the default.ui file. Hence,  
not from the pref pane (???)


You need to specify the .ui file you want from the preference pane.  
If you want to customize it, make a copy of default.ui, rename it,  
and place it somewhere else.


I expected to to find default.ui file in some /Library/Application  
Support/LyX// directory, but I could only find it in /Applications/ 
LyX.app/Contents/Resources/ui. Is this the intended location, or  
did the installer fail to copy some of the files to where they  
should belong?


The default one belongs (on Mac) in LyX.app/Contents/Resources/ui.  
The natural place for you to put a customized one would be in ~/ 
Library/Application Support/LyX-1.5/ui.


I noticed that default.ui includes stdtoolbars.inc. I assume that I  
shuld copy all of these files to my /Users/Library/Application  
Support/LyX/ directory, and then modify stdtoolbars.inc ?


No need to copy them if you don't need to modify them.


Isn't there any ui-driven procedure to follow?


No; not currently. (And I don't think there are any plans to do so.)

Bennett


customizing toolbars

2007-08-09 Thread Stefano Baroni

Hi! I'm using LyX 1.5.1 on Mac OS X 10.4.10 (PPC)

I would like to modify the content of some of the toolbars. The on- 
line help says that this can be done from the preference pane, but  
then it also adds that one should edit the default.ui file. Hence,  
not from the pref pane (???)


I expected to to find default.ui file in some /Library/Application  
Support/LyX// directory, but I could only find it in /Applications/ 
LyX.app/Contents/Resources/ui. Is this the intended location, or did  
the installer fail to copy some of the files to where they should  
belong?


I noticed that default.ui includes stdtoolbars.inc. I assume that I  
shuld copy all of these files to my /Users/Library/Application  
Support/LyX/ directory, and then modify stdtoolbars.inc ? Isn't there  
any ui-driven procedure to follow?


Many thanks - Stefano Baroni

---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





Re: customizing toolbars

2007-08-09 Thread Bennett Helm

On Aug 9, 2007, at 7:41 AM, Stefano Baroni wrote:


Hi! I'm using LyX 1.5.1 on Mac OS X 10.4.10 (PPC)

I would like to modify the content of some of the toolbars. The on- 
line help says that this can be done from the preference pane, but  
then it also adds that one should edit the default.ui file. Hence,  
not from the pref pane (???)


You need to specify the .ui file you want from the preference pane.  
If you want to customize it, make a copy of default.ui, rename it,  
and place it somewhere else.


I expected to to find default.ui file in some /Library/Application  
Support/LyX// directory, but I could only find it in /Applications/ 
LyX.app/Contents/Resources/ui. Is this the intended location, or  
did the installer fail to copy some of the files to where they  
should belong?


The default one belongs (on Mac) in LyX.app/Contents/Resources/ui.  
The natural place for you to put a customized one would be in ~/ 
Library/Application Support/LyX-1.5/ui.


I noticed that default.ui includes stdtoolbars.inc. I assume that I  
shuld copy all of these files to my /Users/Library/Application  
Support/LyX/ directory, and then modify stdtoolbars.inc ?


No need to copy them if you don't need to modify them.


Isn't there any ui-driven procedure to follow?


No; not currently. (And I don't think there are any plans to do so.)

Bennett