Re: Integrating EggMenu code into GTK+



Owen Taylor <otaylor redhat com> writes:

> We need a volunteer to work on integrating the new menu
> system from Egg into GTK+; I think the subtasks are:
> 
>  - Do the sed-job and GTK+ Makefile.am changes to
>    move the code into GTK+

For what it's worth, the "sed" job I used to convert the toolbar was
actually this "hatch.sh" script:

[ copy the egg* files into the gtk+/gtk directory ]
perl -pi -e "s/egg/gtk/g" egg*
perl -pi -e "s/Egg/Gtk/g" egg*
perl -pi -e "s/EGG/GTK/g" egg*
perl -pi -e 's/<gtk\/(gtk[^>]*)>/"$1"/' egg*.c
perl -pi -e 's/\.\.\/util\///' eggtoolbar.c
[ rename the egg* files to gtk* files ]

Søren



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