Am Samstag, 8. April 2006 20:57 schrieb Abdelrazak Younes:
> OK, here's the patch. Please verify that I did not any mistake in 
> Makefile.am.
> This patch removes the hack for now by using LibFileSearch as you 
> suggested. I like very much the qrc approach suggested by Andre but I 
> think this should be a more general thing.

I don't think so. But even if you want to generalize it later, why not 
start with just these symbols in the qrc file? That would avoid changing 
the Makefile.am back and forth. But anyway, if you still want to apply 
the patch pelase remove the icons from the ui file completely, because 
the path will never work for everybody.

> So the next step would be to  
> integrate a qrc file that contains all the math symbols (including these 
> ones) and use that instead. It's in my Todo list unless someone (Andre?) 
> wants to take care of that.

I don't agree. The math symbols that are connected to TeX commands should 
not be compiled in, but loaded at run time. I want to be able to add 
something like

Item "Insert cutset" "math-insert \cutset"

to the toolbar. This would currently use the icon 
lib/images/math/cutset.xpm. If we want to keep this possibility we need a 
way to load icons at runtime, and I don't see any benefit to make a 
difference between those that are loaded from the default .ui files (load 
from qrc) and those that come from user defined .ui files (load from 
xpm).


Georg

Reply via email to