+#endif
+
+ /* make tab move to next field */
+ if( event->keyval == GDK_Tab ) {
+ /* Reference to parent */
+ parent = GTK_WIDGET(entry)->parent;
+
+ /* Discard the window */
+ clear_completion_cache();
+ addrcompl_destroy_window( _compWindow_ );
+
+ /* Move focus to next widget */
+ if( parent ) {
+ gtk_container_focus( GTK_CONTAINER(parent), GTK_DIR_TAB_FORWARD );
+ }
+ return FALSE;
+ }
+
+ /* make backtab move to previous field */
+ if( event->keyval == GDK_ISO_Left_Tab ) {
+ /* Reference to parent */
+ parent = GTK_WIDGET(entry)->parent;
+
+ /* Discard the window */
+ clear_completion_cache();
+ addrcompl_destroy_window( _compWindow_ );
+
+ /* Move focus to previous widget */
+ if( parent ) {
+ gtk_container_focus( GTK_CONTAINER(parent), GTK_DIR_TAB_BACKWARD );
+ }
+ return FALSE;
+ }