Commit 795e059f authored by Johannes Schmid's avatar Johannes Schmid Committed by Johannes Schmid

Moved sample1, indent, class-inheritance, valgrind and profiler to

2009-04-07  Johannes Schmid  <jhs@gnome.org>

	* configure.in:
	* plugins/Makefile.am:
	Moved sample1, indent, class-inheritance, valgrind and profiler to
	anjuta-extras repository.

svn path=/trunk/; revision=4930
parent 6a2694df
2009-04-07 Johannes Schmid <jhs@gnome.org>
* configure.in:
* plugins/Makefile.am:
Moved sample1, indent, class-inheritance, valgrind and profiler to
anjuta-extras repository.
2009-04-07 Johannes Schmid <jhs@gnome.org>
* libanjuta/anjuta-preferences.c
......@@ -36,20 +36,16 @@ LIBXML_REQUIRED=2.4.23
LIBDEVHELP_REQUIRED=0.22
GDL_REQUIRED=2.24.0
GLADEUI_REQUIRED=3.6.0
LIBGRAPHVIZ_REQUIRED=1.0
NEON_REQUIRED=0.28.2
SVN_MAJOR=1
SVN_MINOR=5
SVN_PATCH=0
SUBVERSION_REQUIRED=$SVN_MAJOR.$SVN_MINOR.$SVN_PATCH
GTKSOURCEVIEW_REQUIRED=2.4.0
BINUTILS_REQUIRED=2.15.92
LIBWNCK_REQUIRED=2.12
GDA_REQUIRED=4.0.0
UNIQUE_REQUIRED=1.0.0
dnl LIBGTODO_REQUIRED=0.15
AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GDK_PIXBUF_REQUIRED)
AC_SUBST(GTK_REQUIRED)
......@@ -63,17 +59,13 @@ AC_SUBST(VTE_NEW_REQUIRED)
AC_SUBST(LIBDEVHELP_REQUIRED)
AC_SUBST(GDL_REQUIRED)
AC_SUBST(GLADEUI_REQUIRED)
AC_SUBST(LIBGRAPHVIZ_REQUIRED)
AC_SUBST(NEON_REQUIRED)
AC_SUBST(SUBVERSION_REQUIRED)
AC_SUBST(GTKSOURCEVIEW_REQUIRED)
AC_SUBST(BINUTILS_REQUIRED)
AC_SUBST(LIBWNCK_REQUIRED)
AC_SUBST(GDA_REQUIRED)
AC_SUBST(UNIQUE_REQUIRED)
dnl AC_SUBST(LIBGTODO_REQUIRED)
AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
AC_CONFIG_HEADERS(config.h)
AC_DISABLE_STATIC
......@@ -256,62 +248,6 @@ fi
AM_CONDITIONAL(HAVE_PLUGIN_GLADE, [test x$gladeui_found = xyes])
dnl Check for graphviz (class inheritance and profiler plugins)
dnl --------------------------------------------------------------------------
dnl FIXME: For some strange reason graphviz-devel rpm install the *.pc files
dnl in /usr/lib/graphviz/pkgconfig, instead of usual /usr/lib/pkgconfig. This
dnl makes pkgconfig check fail if we don't add the above path in
dnl PKG_CONFIG_PATH. We have added both /usr/lib/graphviz/pkgconfig and
dnl /usr/local/lib/pkgconfig paths. If graphviz is installed in other prefix
dnl (other than /usr or /usr/local or the current installation prefix),
dnl following pkgconfig check will fail.
dnl --------------------------------------------------------------------------
AC_ARG_ENABLE(graphviz,
AC_HELP_STRING([--disable-graphviz],[Disable GraphViz support in Anjuta]),
[ if test "$enableval" = "no"; then
user_disabled_graphviz=1
fi ],
[ user_disabled_graphviz=0 ])
AC_MSG_CHECKING(if GraphViz support is disabled)
if test "$user_disabled_graphviz" = 1; then
AC_MSG_RESULT(yes)
libgraphviz_found="no"
else
AC_MSG_RESULT(no)
dnl Set pkgconfig path
ANJUTA_PKG_CONFIG_PATH_SAVE="${PKG_CONFIG_PATH}"
PKG_CONFIG_PATH="/usr/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/local/lib/graphviz/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/local/lib64/graphviz/pkgconfig:$PKG_CONFIG_PATH"
anjuta_save_prefix="$prefix"
test "x$prefix" = xNONE && prefix=$ac_default_prefix
graphviz_pkgconfig=`eval echo ${libdir}/graphviz/pkgconfig`
PKG_CONFIG_PATH="$graphviz_pkgconfig:$PKG_CONFIG_PATH"
prefix="$anjuta_save_prefix"
export PKG_CONFIG_PATH
PKG_CHECK_MODULES(GRAPHVIZ,
[libgvc >= $LIBGRAPHVIZ_REQUIRED libgraph >= $LIBGRAPHVIZ_REQUIRED],
[libgraphviz_found="yes"],
[libgraphviz_found="no"])
dnl Restore pkgconfig path
PKG_CONFIG_PATH="${ANJUTA_PKG_CONFIG_PATH_SAVE}"
export PKG_CONFIG_PATH
fi
AM_CONDITIONAL(HAVE_GRAPHVIZ, [test x$libgraphviz_found = xyes])
dnl Define HAVE_GRAPHVIZ to disable Function Call Chart in the Profiler if
dnl Graphviz isn't on the system
if test "$libgraphviz_found" = yes; then
AC_DEFINE(HAVE_GRAPHVIZ, [], [Define if we have GraphViz >= 2.6.0])
fi
dnl Build gtksourceview plugin only on gnome 2.14 and gtk 2.10
dnl -------------------------------------------------------------
......@@ -360,67 +296,6 @@ AM_CONDITIONAL(HAVE_PLUGIN_SCINTILLA, [test x$scintilla = xyes])
PKG_CHECK_MODULES(PLUGIN_SYMBOL_DB,
[libgda-4.0 >= $GDA_REQUIRED])
dnl Valgrind plugin
dnl check for libbfd
dnl -------------------------------------------------------------
AC_ARG_ENABLE(plugin-valgrind,
AC_HELP_STRING([--disable-plugin-valgrind],[Disable Valgrind plugin]),
[ if test "$enableval" = "no"; then
user_disabled_valgrind=1
fi ],
[ user_disabled_valgrind=0 ])
AC_MSG_CHECKING(if valgrind plugin is disabled)
if test "$user_disabled_valgrind" = 1; then
AC_MSG_RESULT(yes)
valgrind="no"
else
AC_MSG_RESULT(no)
valgrind="yes"
fi
AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
valgrind="no",
-liberty)
AC_SUBST(PLUGIN_VALGRIND_LIBS)
AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
dnl we need gconftool-2 in order to install the schema
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
if test "x$GCONFTOOL" = "xno"; then
AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
fi
AM_GCONF_SOURCE_2
dnl check for bfd_get_section_size_before_reloc() in libbfd
AC_MSG_CHECKING(for bfd_get_section_size_before_reloc)
AC_TRY_LINK([
#include <bfd.h>
], [
asection *section;
bfd_get_section_size_before_reloc (section);
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC, [], [Define if libbfd
contains the function bfd_get_section_size_before_reloc])
,
AC_MSG_RESULT(no)
)
dnl Setup Anjuta Library flags
dnl --------------------------
LIBANJUTA_CFLAGS='$(GLIB_CFLAGS) $(GTK_CFLAGS) $(GDL_CFLAGS) $(GNOME_CFLAGS) $(GLADE_CFLAGS) -I$(top_srcdir) -DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps/$(PACKAGE)"\" -DPACKAGE_LIB_DIR=\""$(pkglibdir)"\" -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\"'
......@@ -889,7 +764,6 @@ doc/Makefile
scripts/Makefile
launcher/Makefile
plugins/Makefile
plugins/sample1/Makefile
plugins/gtodo/Makefile
plugins/class-gen/Makefile
plugins/class-gen/templates/Makefile
......@@ -913,7 +787,6 @@ plugins/file-loader/Makefile
plugins/file-wizard/Makefile
plugins/terminal/Makefile
plugins/build-basic-autotools/Makefile
plugins/profiler/Makefile
plugins/project-manager/Makefile
plugins/gbf-am/Makefile
plugins/gbf-am/gbf-am-parse
......@@ -932,8 +805,6 @@ plugins/git/Makefile
plugins/sourceview/Makefile
plugins/tools/Makefile
plugins/tools/scripts/Makefile
plugins/class-inheritance/Makefile
plugins/valgrind/Makefile
plugins/language-manager/Makefile
plugins/project-import/Makefile
plugins/project-wizard/templates/Makefile
......@@ -986,7 +857,6 @@ plugins/project-wizard/templates/gnome-applet/po/Makefile
plugins/project-wizard/templates/m4/Makefile
plugins/language-support-cpp-java/Makefile
plugins/run-program/Makefile
plugins/scratchbox/Makefile
plugins/starter/Makefile
anjuta.desktop.in
manuals/Makefile
......@@ -1028,23 +898,6 @@ else
echo " Requires devhelp >= 0.22"
fi
if [ test x$libgraphviz_found = xyes ]; then
echo "Building class inheritance plugin: .....................YES"
echo "Building performance profiler with function call chart: YES"
else
echo "Building class inheritance plugin: .....................NO"
echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
echo "Building performance profiler with function call chart: NO"
echo " Requires graphviz (>= 2.6.0); http://graphviz.org"
fi
if [ test x$valgrind = xyes ]; then
echo "Building Valgrind debugger plugin: .....................YES"
else
echo "Building Valgrind debugger plugin: .....................NO"
echo " Requires binutils-dev"
fi
if [ test x$sourceview = xyes ]; then
echo "Building GtkSourceView based editor: ...................YES"
else
......
......@@ -13,7 +13,6 @@ SUBDIRS = . \
file-wizard \
project-wizard \
project-manager \
sample1 \
cvs-plugin \
macro \
class-gen \
......@@ -21,22 +20,16 @@ SUBDIRS = . \
subversion \
project-import \
tools \
class-inheritance \
document-manager \
search \
valgrind \
language-support-cpp-java \
glade \
devhelp \
profiler \
language-manager \
symbol-db \
git \
sourceview \
run-program \
scratchbox \
gbf-am \
gbf-mkfile \
starter
# indent
if HAVE_GRAPHVIZ
# Plugin Icon file
cls_inheritance_pixmapsdir = $(anjuta_image_dir)
cls_inheritance_pixmaps_DATA = \
anjuta-class-inheritance-plugin.svg \
anjuta-class-inheritance-plugin-48.png
# Plugin description file
plugin_in_files = anjuta-class-inheritance.plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
cls_inheritance_plugindir = $(anjuta_plugin_dir)
cls_inheritance_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
# NOTE :
# The naming convention is very intentional
# We are forced to use the prefix 'lib' by automake and libtool
# There is probably a way to avoid it but it is not worth to effort
# to find out.
# The 'anjuta_' prfix is a safety measure to avoid conflicts where the
# plugin 'libpython.so' needs to link with the real 'libpython.so'
# Include paths
AM_CPPFLAGS = \
$(LIBANJUTA_CFLAGS) \
$(WARN_CFLAGS) \
$(GDL_CFLAGS) \
$(DEPRECATED_FLAGS) \
$(GRAPHVIZ_CFLAGS) \
-DG_LOG_DOMAIN=\"libanjuta-class-inheritance\"
# Where to install the plugin
plugindir = $(anjuta_plugin_dir)
# The plugin
plugin_LTLIBRARIES = libanjuta-class-inheritance.la
libanjuta_class_inheritance_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
# Plugin dependencies
libanjuta_class_inheritance_la_LIBADD = \
$(LIBANJUTA_LIBS) \
$(GNOME_UI_LIBS) \
$(GRAPHVIZ_LIBS)
# Plugin sources
libanjuta_class_inheritance_la_SOURCES = \
plugin.c \
plugin.h \
class-inherit.c \
class-inherit.h \
class-callbacks.c \
class-callbacks.h
endif
EXTRA_DIST = \
$(plugin_in_files) \
$(cls_inheritance_plugin_DATA) \
$(cls_inheritance_ui_DATA) \
$(cls_inheritance_glade_DATA) \
$(cls_inheritance_pixmaps_DATA)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45.1"
width="48"
height="48"
version="1.0"
sodipodi:docbase="/home/maker/icons/anjuta-new2/plugins"
sodipodi:docname="anjuta-class-inheritance.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/maker/icons/anjuta-new2/plugins/anjuta-class-inheritance-plugin-48.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<sodipodi:namedview
inkscape:cy="12.527183"
inkscape:cx="23.616362"
inkscape:zoom="1"
inkscape:window-height="923"
inkscape:window-width="1044"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
width="48px"
height="48px"
showgrid="true"
inkscape:window-x="0"
inkscape:window-y="32"
inkscape:current-layer="svg2" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5">
<marker
style="overflow:visible"
id="TriangleOutS"
orient="auto"
refY="0.0"
inkscape:stockid="TriangleOutS"
refX="0.0">
<path
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
id="path3274"
transform="scale(0.2)"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " />
</marker>
<marker
style="overflow:visible"
id="TriangleOutM"
orient="auto"
refY="0.0"
inkscape:stockid="TriangleOutM"
refX="0.0">
<path
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
id="path3271"
transform="scale(0.4)"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " />
</marker>
<marker
style="overflow:visible;"
id="Arrow2Send"
orient="auto"
refY="0.0"
inkscape:stockid="Arrow2Send"
refX="0.0">
<path
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
id="path3203"
transform="scale(0.3) rotate(180) translate(-2.3,0)"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z " />
</marker>
<marker
style="overflow:visible"
id="Arrow2Sstart"
orient="auto"
refY="0.0"
inkscape:stockid="Arrow2Sstart"
refX="0.0">
<path
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
id="path3200"
transform="scale(0.3) translate(-2.3,0)"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z " />
</marker>
<marker
style="overflow:visible;"
id="Arrow1Send"
orient="auto"
refY="0.0"
inkscape:stockid="Arrow1Send"
refX="0.0">
<path
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
id="path3185"
transform="scale(0.2) rotate(180) translate(6,0)"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " />
</marker>
<marker
style="overflow:visible"
id="Arrow1Sstart"
orient="auto"
refY="0.0"
inkscape:stockid="Arrow1Sstart"
refX="0.0">
<path
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
id="path3182"
transform="scale(0.2) translate(6,0)"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " />
</marker>
<marker
style="overflow:visible"
id="TriangleInS"
orient="auto"
refY="0.0"
inkscape:stockid="TriangleInS"
refX="0.0">
<path
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
id="path3265"
transform="scale(-0.2)"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " />
</marker>
<marker
style="overflow:visible"
id="TriangleInM"
orient="auto"
refY="0.0"
inkscape:stockid="TriangleInM"
refX="0.0">
<path
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
id="path3262"
transform="scale(-0.4)"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " />
</marker>
<marker
style="overflow:visible;"
id="Arrow2Mend"
orient="auto"
refY="0.0"
inkscape:stockid="Arrow2Mend"
refX="0.0">
<path
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
id="path3197"
transform="scale(0.6) rotate(180) translate(0,0)"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z " />
</marker>
<linearGradient
id="linearGradient3146"
inkscape:collect="always">
<stop
offset="0"
style="stop-color:#204a87;stop-opacity:1;"
id="stop3148" />
<stop
offset="1"
style="stop-color:#204a87;stop-opacity:0;"
id="stop3150" />
</linearGradient>
<linearGradient
id="linearGradient3136">
<stop
offset="0"
style="stop-color:#ffffff;stop-opacity:1;"
id="stop3138" />
<stop
offset="1"
style="stop-color:#eeeeec;stop-opacity:1;"
id="stop3140" />
</linearGradient>
<radialGradient
r="22.499998"
id="radialGradient3144"
fx="58.651649"
fy="14.520809"
gradientUnits="userSpaceOnUse"
inkscape:collect="always"
cy="14.520809"
cx="58.651649"
xlink:href="#linearGradient3136"
gradientTransform="matrix(1,0,0,1.2111365,-109,0.9341241)" />
<linearGradient
id="linearGradient3152"
gradientUnits="userSpaceOnUse"
inkscape:collect="always"
x1="58.446415"
y1="5.2448635"
xlink:href="#linearGradient3146"
gradientTransform="translate(-109,3.9999963)"
x2="58.651649"
y2="-12.72976" />
<linearGradient
id="linearGradient6308"
gradientUnits="userSpaceOnUse"
inkscape:collect="always"
x1="15"
y1="8.7244282"
xlink:href="#linearGradient3136"
x2="15"
y2="21.010408" />
<linearGradient
id="linearGradient6316"
gradientUnits="userSpaceOnUse"
inkscape:collect="always"
x1="34.452351"
y1="30.287689"
xlink:href="#linearGradient3136"
gradientTransform="translate(0,2)"
x2="34.398602"
y2="37.977474" />
<linearGradient
id="linearGradient6324"
gradientUnits="userSpaceOnUse"
inkscape:collect="always"
x1="33.83363"
y1="11.906407"
xlink:href="#linearGradient3136"
x2="33.868267"
y2="18.005203" />
<marker
style="overflow:visible"
id="TriangleOutSu"
orient="auto"
refY="0.0"
inkscape:stockid="TriangleOutSu"
refX="0.0">
<path
style="marker-start:none;stroke:#ad7fa8;stroke-width:1.0pt;fill:#ad7fa8;fill-rule:evenodd"
id="path2223"
transform="scale(0.2)"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " />
</marker>
<marker
style="overflow:visible"
id="TriangleOutSb"
orient="auto"
refY="0.0"
inkscape:stockid="TriangleOutSb"
refX="0.0">
<path
style="marker-start:none;stroke:#ef2929;stroke-width:1.0pt;fill:#ef2929;fill-rule:evenodd"
id="path2305"
transform="scale(0.2)"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " />
</marker>
</defs>
<path
style="stroke-linejoin:miter;marker-end:url(#TriangleOutSu);stroke-opacity:1;fill-rule:evenodd;marker-start:none;fill-opacity:0.75;stroke-dashoffset:0;stroke:#ad7fa8;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-width:3;fill:none"
d="M 14.977505,23.248699 L 14.933311,36.109121 L 23.818783,36.042858"
sodipodi:nodetypes="ccc"
id="path3379" />
<rect
style="opacity:1;fill:url(#linearGradient6308);fill-opacity:1.0;fill-rule:nonzero;stroke:#75507b;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3154"
width="16"
rx="0.057870258"
ry="0.057870261"
y="7"
x="7"
height="16" />
<path
style="stroke-linejoin:miter;marker-end:url(#TriangleOutSb);stroke-opacity:1;fill-rule:evenodd;marker-start:none;fill-opacity:0.75;stroke-dashoffset:0;stroke:#ef2929;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-width:3;fill:none"
id="path3165"
sodipodi:nodetypes="cc"
d="M 34.949104,19.05688 L 34.949104,25.846793" />
<rect
style="opacity:1;fill:url(#linearGradient6324);fill-opacity:1.0;fill-rule:nonzero;stroke:#cc0000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3156"
width="12"
rx="0.057870254"
ry="0.057870261"
y="11"
x="28.999998"
height="8" />
<rect
style="opacity:1;fill:url(#linearGradient6316);fill-opacity:1;fill-rule:nonzero;stroke:#3465a4;stroke-width:1.99999988;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3163"
width="12"
rx="0.057870258"
ry="0.057870265"
y="31"
x="29"
height="10" />
</svg>
[Anjuta Plugin]
Location=anjuta-class-inheritance:AnjutaClassInheritance
Icon=anjuta-class-inheritance-plugin-48.png
_Name=Class Inheritance
_Description=A graph painter for the inheritance of the classes.
/*
* Copyright (C) Massimo Cora' 2005 <maxcvs@email.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <glib.h>
#include <gio/gio.h>
#include <libanjuta/anjuta-debug.h>
#include <libanjuta/interfaces/ianjuta-document-manager.h>
#include <libanjuta/interfaces/ianjuta-symbol-manager.h>
#include "plugin.h"
#include "class-callbacks.h"
#include "class-inherit.h"
gint
on_canvas_event (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
{
AnjutaClassInheritance *plugin;
plugin = ANJUTA_PLUGIN_CLASS_INHERITANCE (data);
switch (event->type)
{
case GDK_BUTTON_PRESS:
if (event->button.button == 3)
{
g_return_val_if_fail (plugin->menu != NULL, FALSE);