Channel url and cursor fix

- Allow colons in channel urls
- Only add the channel part in the context menu
- Fix cursor not changing between separator and url
This commit is contained in:
Farow
2013-08-13 04:19:14 +03:00
parent 0b95c1c444
commit 4f77f046d0
3 changed files with 5 additions and 1 deletions

View File

@@ -2306,6 +2306,8 @@ mg_word_clicked (GtkWidget *xtext, char *word, GdkEventButton *even)
menu_nickmenu (sess, even, word, FALSE);
break;
case WORD_CHANNEL:
word[end] = 0;
word += start;
menu_chanmenu (sess, even, word);
break;
case WORD_EMAIL: