check if browser is null, not if clickable_url is false

Hints don't make sense if there's no browser set, but checking if
browser is null makes for cleaner code. Note this wasn't wrong,
clickable_url will be set to false if browser is null.
This commit is contained in:
Simon Gomizelj 2013-11-25 00:35:08 -05:00
parent a05fdcd4d1
commit c1d65c416e
1 changed files with 1 additions and 1 deletions

View File

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