Index: multiselect.module
===================================================================
--- multiselect.module	(revision 1888)
+++ multiselect.module	(working copy)
@@ -47,6 +47,31 @@
   }
 }
 
+/**                                                                                                                                                  
+ * Implementation of hook_widget_settings().
+ */
+function multiselect_widget_settings($op, $widget) {
+  switch ($op) {
+    case 'form':
+      $form['settings'] = array(
+        '#type' => 'fieldset',
+        '#title' => t('Settings for Options'),
+        '#collapsible' => TRUE,
+        '#weight' => 10,
+      );
+      $form['settings']['show_depth'] = array(
+        '#type' => 'checkbox',
+        '#title' => t('Indent child terms with \' - \' signs'),
+        '#default_value' => is_numeric($widget['show_depth']) ? $widget['show_depth'] : 1,
+        '#description' => t('If this option is checked, a hierarchy gets visualized by indenting child terms, otherwise it\'s a flat list'),
+      );
+      return $form;
+
+    case 'save':
+      return array('show_depth');
+  }
+}
+
 /**
  * Implementation of hook_widget_info().
  * This specifies the label and that it is a widget for the different field types.
