handle leaving hint mode

This commit is contained in:
Daniel Micay 2012-09-16 16:03:49 -04:00
parent e1822fbfde
commit 7d188f3010
1 changed files with 5 additions and 0 deletions

View File

@ -602,6 +602,11 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in
} }
if (ret) { if (ret) {
if (info->mode == overlay_mode::urlselect) {
gtk_widget_hide(info->da);
g_list_free(list);
list = nullptr;
}
info->mode = overlay_mode::hidden; info->mode = overlay_mode::hidden;
gtk_widget_hide(info->panel); gtk_widget_hide(info->panel);
gtk_widget_grab_focus(GTK_WIDGET(info->vte)); gtk_widget_grab_focus(GTK_WIDGET(info->vte));