diff options
author | TingPing <TingPing@users.noreply.github.com> | 2013-08-15 21:36:35 -0700 |
---|---|---|
committer | TingPing <TingPing@users.noreply.github.com> | 2013-08-15 21:36:35 -0700 |
commit | a3ab5edc5980d77ce269c7252db3864b1cf3c5ce (patch) | |
tree | 85a37761a76d30bdc1bb6519e0e5ce359716ecd3 /src/fe-gtk | |
parent | 8fbcddd2cd6e2d362245ca6a6a58c2bbffd3dc8a (diff) | |
parent | 73d63ca3da0067bfdef7e6c5458029ceaf5dfa98 (diff) |
Merge pull request #718 from Farow/pull
Channel url improvements
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/maingui.c | 2 | ||||
-rw-r--r-- | src/fe-gtk/xtext.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index 84df4b96..17dc4e75 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -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: diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index 7582f82c..8a9b596a 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -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 */ |