summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-10-08 16:07:55 +0200
committerjcid <devnull@localhost>2007-10-08 16:07:55 +0200
commit9306f65b8de5aad7bc61e39e94bd9d190c3573e8 (patch)
tree49d1f0a8df4105f4ef409103eef118a382371bed
parent66a921919f22190ff4b01b6eb521544f30b55a7d (diff)
Connected signals for <li> elements
-rw-r--r--ChangeLog3
-rw-r--r--src/html.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a1e3105..b5c08873 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,7 +31,8 @@ dillo-fltk2
- Rewrote the DNS API and the Dpid start code inside Dillo.
- Implemented Stop button to not only stop rendering but also networking.
Patches: Jorge Arellano
-
+ - Connected signals to <li> elements
+ Patch: place
TODO:
diff --git a/src/html.cc b/src/html.cc
index 4661525a..393c79fc 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2918,6 +2918,8 @@ static void Html_tag_open_li(DilloHtml *html, char *tag, int tagsize)
*ref_list_item = list_item;
S_TOP(html)->textblock = html->dw = list_item;
item_style->unref();
+ /* Handle it when the user clicks on a link */
+ Html_connect_signals(html, list_item);
switch (S_TOP(html)->list_type) {
case HTML_LIST_ORDERED: