summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-12 21:25:39 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-12 21:25:39 +0000
commiteab1eef70ec00e5048b522b6c7f4189615caac87 (patch)
tree4d8d574ad9741174e0d99077f234fd41231b08e7 /src/ui
parentfix bsplines (diff)
parentFix crash with experimental lpe tool. (diff)
downloadinkscape-eab1eef70ec00e5048b522b6c7f4189615caac87.tar.gz
inkscape-eab1eef70ec00e5048b522b6c7f4189615caac87.zip
Update to trunk
(bzr r11950.1.180)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/filedialogimpl-win32.h4
-rw-r--r--src/ui/dialog/find.cpp2
-rw-r--r--src/ui/tool/node-tool.cpp12
-rw-r--r--src/ui/tool/node-tool.h1
4 files changed, 4 insertions, 15 deletions
diff --git a/src/ui/dialog/filedialogimpl-win32.h b/src/ui/dialog/filedialogimpl-win32.h
index 2e6bb4bb8..29bcb9a45 100644
--- a/src/ui/dialog/filedialogimpl-win32.h
+++ b/src/ui/dialog/filedialogimpl-win32.h
@@ -140,7 +140,7 @@ public:
/// Shows the file dialog, and blocks until a file
/// has been selected.
- /// @return Returns true if the the user selected a
+ /// @return Returns true if the user selected a
/// file, or false if the user pressed cancel.
bool show();
@@ -341,7 +341,7 @@ public:
/// Shows the file dialog, and blocks until a file
/// has been selected.
- /// @return Returns true if the the user selected a
+ /// @return Returns true if the user selected a
/// file, or false if the user pressed cancel.
bool show();
diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp
index def7b5bdb..37f2761df 100644
--- a/src/ui/dialog/find.cpp
+++ b/src/ui/dialog/find.cpp
@@ -664,7 +664,7 @@ bool Find::item_type_match (SPItem *item)
if ( SP_IS_RECT(item)) {
return ( all ||check_rects.get_active());
- } else if (SP_IS_GENERICELLIPSE(item) || SP_IS_ELLIPSE(item) || SP_IS_ARC(item) || SP_IS_CIRCLE(item)) {
+ } else if (SP_IS_GENERICELLIPSE(item)) {
return ( all || check_ellipses.get_active());
} else if (SP_IS_STAR(item) || SP_IS_POLYGON(item)) {
diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp
index 4b236e94c..76e33e506 100644
--- a/src/ui/tool/node-tool.cpp
+++ b/src/ui/tool/node-tool.cpp
@@ -534,11 +534,7 @@ bool InkNodeTool::root_handler(GdkEvent* event) {
break;
}
-// if (SP_EVENT_CONTEXT_CLASS(ink_node_tool_parent_class)->root_handler)
-// return SP_EVENT_CONTEXT_CLASS(ink_node_tool_parent_class)->root_handler(event_context, event);
- SPEventContext::root_handler(event);
-
- return FALSE;
+ return SPEventContext::root_handler(event);
}
void InkNodeTool::update_tip(GdkEvent *event) {
@@ -607,12 +603,6 @@ void InkNodeTool::update_tip(GdkEvent *event) {
}
}
-bool InkNodeTool::item_handler(SPItem* item, GdkEvent* event) {
- SPEventContext::item_handler(item, event);
-
- return FALSE;
-}
-
void InkNodeTool::select_area(Geom::Rect const &sel, GdkEventButton *event) {
using namespace Inkscape::UI;
diff --git a/src/ui/tool/node-tool.h b/src/ui/tool/node-tool.h
index 4500c5de0..6e37254e0 100644
--- a/src/ui/tool/node-tool.h
+++ b/src/ui/tool/node-tool.h
@@ -50,7 +50,6 @@ public:
virtual void setup();
virtual void set(const Inkscape::Preferences::Entry& val);
virtual bool root_handler(GdkEvent* event);
- virtual bool item_handler(SPItem* item, GdkEvent* event);
virtual const std::string& getPrefsPath();