Index: languageicons.admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/languageicons/languageicons.admin.inc,v retrieving revision 1.3 diff -u -p -r1.3 languageicons.admin.inc --- languageicons.admin.inc 31 Jan 2010 17:22:49 -0000 1.3 +++ languageicons.admin.inc 31 Jan 2010 20:31:50 -0000 @@ -51,12 +51,6 @@ function languageicons_admin_settings() '#maxlength' => 10, '#description' => t('Image size for language icons, in the form "width x height".'), ); - $form['show']['languageicons_show_tooltip'] = array( - '#type' => 'checkbox', - '#title' => t('Show tooltips'), - '#description' => t('Show tooltips on the icons displaying the language name'), - '#default_value' => variable_get('languageicons_show_tooltip', TRUE), - ); return system_settings_form($form); } Index: languageicons.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/languageicons/languageicons.install,v retrieving revision 1.3 diff -u -p -r1.3 languageicons.install --- languageicons.install 31 Jan 2010 17:22:49 -0000 1.3 +++ languageicons.install 31 Jan 2010 20:31:50 -0000 @@ -67,3 +67,13 @@ function languageicons_update_6000() { _languageicons_convert_i18n_icon_variables(); return array(); } + +/** + * Remove variable used for some hours during development of 6.x-2.x. + * + * @todo Remove this after the release of 6.x-2.0. + */ +function languageicons_update_6200() { + variable_del('languageicons_show_tooltip'); + return array(); +} Index: languageicons.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/languageicons/languageicons.module,v retrieving revision 1.7 diff -u -p -r1.7 languageicons.module --- languageicons.module 31 Jan 2010 17:35:03 -0000 1.7 +++ languageicons.module 31 Jan 2010 20:31:50 -0000 @@ -112,10 +112,11 @@ function theme_languageicons_icon($langu if ($path = variable_get('languageicons_path', drupal_get_path('module', 'languageicons') .'/flags/*.png')) { $src = base_path() . str_replace('*', $language->language, $path); $title = $title ? $title : $language->native; - $attribs = array('class' => 'language-icon', 'alt' => $title); - if (variable_get('languageicons_show_tooltip', TRUE)) { - $attribs['title'] = $title; - } + $attribs = array( + 'class' => 'language-icon', + 'alt' => $title, + 'title' => $title, + ); if ($size = variable_get('languageicons_size', '16x12')) { list($width, $height) = explode('x', $size); $attribs += array('width' => $width, 'height' => $height);