Mercurial > pidgin
comparison src/gtkimhtml.c @ 1547:7b50a08090a2
[gaim-migrate @ 1557]
fix url clicking
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 08 Mar 2001 21:53:58 +0000 |
parents | b0f8f1865419 |
children | 7ad82fa9e6ce |
comparison
equal
deleted
inserted
replaced
1546:92b3dd1e4129 | 1547:7b50a08090a2 |
---|---|
1095 } | 1095 } |
1096 | 1096 |
1097 gtk_selection_owner_set (widget, GDK_SELECTION_PRIMARY, event->time); | 1097 gtk_selection_owner_set (widget, GDK_SELECTION_PRIMARY, event->time); |
1098 } | 1098 } |
1099 | 1099 |
1100 if ((event->button == 1) && (imhtml->selected_text->len == 0)) { | 1100 if ((event->button == 1) && (imhtml->sel_startx == 0)) { |
1101 GList *urls = imhtml->urls; | 1101 GList *urls = imhtml->urls; |
1102 struct url_widget *uw; | 1102 struct url_widget *uw; |
1103 | 1103 |
1104 while (urls) { | 1104 while (urls) { |
1105 uw = (struct url_widget *) urls->data; | 1105 uw = (struct url_widget *) urls->data; |