summaryrefslogtreecommitdiffstats
path: root/src/widgets/measure-toolbar.cpp
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-07-30 02:51:28 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-07-30 02:51:28 +0000
commit7aab446af9e2eb34ce50c8ef0ec58710fac49396 (patch)
tree910753b30ab6691d4f5ace840252596217460dd1 /src/widgets/measure-toolbar.cpp
parentMerge from trunk. (diff)
downloadinkscape-7aab446af9e2eb34ce50c8ef0ec58710fac49396.tar.gz
inkscape-7aab446af9e2eb34ce50c8ef0ec58710fac49396.zip
Cleanup.
(bzr r12380.1.52)
Diffstat (limited to 'src/widgets/measure-toolbar.cpp')
-rw-r--r--src/widgets/measure-toolbar.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/widgets/measure-toolbar.cpp b/src/widgets/measure-toolbar.cpp
index d51a81457..53ed2d275 100644
--- a/src/widgets/measure-toolbar.cpp
+++ b/src/widgets/measure-toolbar.cpp
@@ -93,9 +93,6 @@ void sp_measure_toolbox_prep(SPDesktop * desktop, GtkActionGroup* mainActions, G
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
tracker->setActiveUnitByAbbr(prefs->getString("/tools/measure/unit").c_str());
- //tracker->setUnitType(UNIT_TYPE_LINEAR);
- //tracker->setUnit("px");
-
g_object_set_data( holder, "tracker", tracker );
EgeAdjustmentAction *eact = 0;
@@ -125,10 +122,8 @@ void sp_measure_toolbox_prep(SPDesktop * desktop, GtkActionGroup* mainActions, G
// units menu
{
GtkAction* act = tracker->createAction( "MeasureUnitsAction", _("Units:"), _("The units to be used for the measurements") );
- //EgeOutputAction* act = ege_output_action_new( "MeasureUnitsAction", _("Units:"), _("The units to be used for the measurements"), 0 );
g_signal_connect_after( G_OBJECT(act), "changed", G_CALLBACK(measure_unit_changed), holder );
gtk_action_group_add_action( mainActions, act );
- //gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
}
} // end of sp_measure_toolbox_prep()