Tidy up some is_candidate() methods.
[synfig.git] / synfig-studio / trunk / src / synfigapp / actions / valuenodereplace.cpp
index c0228fe..92ac51a 100644 (file)
@@ -32,6 +32,8 @@
 #include "valuenodereplace.h"
 #include <synfigapp/canvasinterface.h>
 
+#include <synfigapp/general.h>
+
 #endif
 
 using namespace std;
@@ -44,7 +46,7 @@ using namespace Action;
 
 ACTION_INIT(Action::ValueNodeReplace);
 ACTION_SET_NAME(Action::ValueNodeReplace,"value_node_replace");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeReplace,"Replace ValueNode");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeReplace,N_("Replace ValueNode"));
 ACTION_SET_TASK(Action::ValueNodeReplace,"replace");
 ACTION_SET_CATEGORY(Action::ValueNodeReplace,Action::CATEGORY_VALUENODE|Action::CATEGORY_DRAG);
 ACTION_SET_PRIORITY(Action::ValueNodeReplace,0);
@@ -57,11 +59,11 @@ ACTION_SET_CVS_ID(Action::ValueNodeReplace,"$Id$");
 
 void swap_guid(const ValueNode::Handle& a,const ValueNode::Handle& b)
 {
-       GUID old_a(a->get_guid());
-       a->set_guid(GUID());
+       synfig::GUID old_a(a->get_guid());
+       a->set_guid(synfig::GUID());
 
-       GUID old_b(b->get_guid());
-       b->set_guid(GUID());
+       synfig::GUID old_b(b->get_guid());
+       b->set_guid(synfig::GUID());
 
        a->set_guid(old_b);
        b->set_guid(old_a);