Re: Adding Menu items.



At 08.02.2009 04:49, Scott M. Ober wrote:
Hi,

I got tired of not having a 'Size' option as well as an 'Align' option for objects.

I've implemented all the code, but, I just can't seem to figure out the menuing system.

Interesting. How do you handle non-resizable objects like UML Class ?

I've added these lines to menu.c
[...]
And, these lines to popup-ui.xml
[...]

I've done a clean build and the menu changes are not there....

So, I deduce there must be some other steps / code that is necessary.

Code looks ok, but the important question is:
are you using the "popup-ui" ? (That menu is only in use for Dia's classic look, i.e. no diagram menu (display-ui.xml) and no integrated UI (integrated-ui.xml).

Would someone please point me in the right direction?

HTH,
        Hans

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert



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