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

@@ -2139,6 +2139,7 @@ gtk_xtext_motion_notify (GtkWidget * widget, GdkEventMotion * event)
{
gdk_window_set_cursor (GTK_WIDGET (xtext)->window,
xtext->resize_cursor);
xtext->cursor_hand = FALSE;
xtext->cursor_resize = TRUE;
}
return FALSE;
@@ -2161,6 +2162,7 @@ gtk_xtext_motion_notify (GtkWidget * widget, GdkEventMotion * event)
gdk_window_set_cursor (GTK_WIDGET (xtext)->window,
xtext->hand_cursor);
xtext->cursor_hand = TRUE;
xtext->cursor_resize = FALSE;
}
/* un-render the old hilight */