summaryrefslogtreecommitdiffstats
path: root/src/ui/contextmenu.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-08-22 18:38:05 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-08-22 18:38:05 +0000
commit1d54c6203b9a14138a771e5f52689217454a51d2 (patch)
tree3aa528140a12474992fd35bf847beae8386875e1 /src/ui/contextmenu.cpp
parentPanned styling to CSS and XML dialogs (diff)
downloadinkscape-1d54c6203b9a14138a771e5f52689217454a51d2.tar.gz
inkscape-1d54c6203b9a14138a771e5f52689217454a51d2.zip
remove HAVE_POTRACE
Diffstat (limited to 'src/ui/contextmenu.cpp')
-rw-r--r--src/ui/contextmenu.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/ui/contextmenu.cpp b/src/ui/contextmenu.cpp
index 2b281a096..fc2eda4c6 100644
--- a/src/ui/contextmenu.cpp
+++ b/src/ui/contextmenu.cpp
@@ -703,7 +703,6 @@ void ContextMenu::MakeImageMenu ()
mi->set_sensitive( FALSE );
}
-#if HAVE_POTRACE
/* Trace Bitmap */
mi = Gtk::manage(new Gtk::MenuItem(_("_Trace Bitmap..."), true));
mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageTraceBitmap));
@@ -712,16 +711,6 @@ void ContextMenu::MakeImageMenu ()
if (_desktop->selection->isEmpty()) {
mi->set_sensitive(FALSE);
}
-#endif
-
- /* Trace Pixel Art */
- mi = Gtk::manage(new Gtk::MenuItem(_("Trace Pixel Art"), true));
- mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageTracePixelArt));
- mi->show();
- insert(*mi,positionOfLastDialog++);
- if (_desktop->selection->isEmpty()) {
- mi->set_sensitive(FALSE);
- }
/* Embed image */
if (Inkscape::Verb::getbyid( "org.ekips.filter.embedselectedimages" )) {
@@ -850,19 +839,11 @@ void ContextMenu::ImageEdit()
}
}
-#if HAVE_POTRACE
void ContextMenu::ImageTraceBitmap()
{
INKSCAPE.dialogs_unhide();
_desktop->_dlg_mgr->showDialog("Trace");
}
-#endif
-
-void ContextMenu::ImageTracePixelArt()
-{
- INKSCAPE.dialogs_unhide();
- _desktop->_dlg_mgr->showDialog("PixelArt");
-}
void ContextMenu::ImageEmbed()
{