summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 2487cc534..bc05cad60 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -658,6 +658,12 @@ EgeAdjustmentAction * create_adjustment_action( gchar const *name,
ege_adjustment_action_set_descriptions( act, descrLabels, descrValues, descrCount );
}
+ // The EgeAdjustmentAction class uses this to create a data member
+ // with the specified name, that simply points to the object itself.
+ // It appears to only be used by the DesktopWidget to find the named
+ // object
+ //
+ // TODO: Get rid of this and look up widgets by name instead.
if ( altx && altx_mark ) {
g_object_set( G_OBJECT(act), "self-id", altx_mark, NULL );
}