Jeff Gunter wrote:
> 
> <de-lurk>
> 
> Here's a question: is there a built in facility which would allow the merger of two 
>glade
> projects into one?  (FWIW, I'm using glade 0.53.)  I know that it's possible to prune
> widgets off of one tree to the clipboard, open a different project and then paste 
>from
> the clipboard.  That works visually (you get widgets with the right text etc)  but 
>the
> widget names are lost in the process.
> The names are important to keep if, for example, you want to use a gtkrc file to 
>specify
> only a few unique widgets.
> 
> If there isn't an easy way to do this within glade, can I just merge the two 
>.project files
> with a perl script that knows to make only one options section?
> 
> Any suggestions?

You can just cut & paste the XML from one project file to the other.
i.e. copy all the toplevel widgets:

<widget>
  ...
</widget>

Damon



+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to