### Eclipse Workspace Patch 1.0
#P Drupal-7-HEAD
Index: modules/taxonomy/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.597
diff -u -r1.597 taxonomy.module
--- modules/taxonomy/taxonomy.module	27 Jun 2010 16:49:58 -0000	1.597
+++ modules/taxonomy/taxonomy.module	10 Jul 2010 12:04:55 -0000
@@ -1097,6 +1097,26 @@
 }
 
 /**
+ * Implements hook_field_widget_settings_form().
+ */
+function taxonomy_field_widget_settings_form($field, $instance) {
+  $widget = $instance['widget'];
+  $settings = $widget['settings'];
+
+  if ($widget['type'] == 'taxonomy_autocomplete') {
+    $form['size'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Size of taxonomy autocomplete field'),
+      '#default_value' => $settings['size'],
+      '#required' => TRUE,
+      '#element_validate' => array('_element_validate_integer_positive'),
+    );
+  }
+
+  return $form;
+}
+
+/**
  * Implements hook_field_widget_info_alter().
  */
 function taxonomy_field_widget_info_alter(&$info) {
