if no browser, disable url hints

This commit is contained in:
Simon Gomizelj 2013-11-23 20:36:48 -05:00
parent 476a26c5f7
commit c2211c0496
1 changed files with 2 additions and 0 deletions

View File

@ -726,6 +726,8 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
exit_command_mode(vte, &info->select); exit_command_mode(vte, &info->select);
break; break;
case GDK_KEY_x: case GDK_KEY_x:
if (!info->config.clickable_url)
break;
find_urls(vte, &info->panel); find_urls(vte, &info->panel);
gtk_widget_show(info->panel.da); gtk_widget_show(info->panel.da);
overlay_show(&info->panel, overlay_mode::urlselect, nullptr); overlay_show(&info->panel, overlay_mode::urlselect, nullptr);