summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <none@none>2012-11-22 00:27:35 +0100
committerportix <none@none>2012-11-22 00:27:35 +0100
commitef8b9a8148d4ef36cc90dc1f8098cedd55d1ae6f (patch)
treed4ac374fab999438681f75cacb7a81bbb96e8bbe /src
parent9cf59535dc1e9cc37237a7ddfefd164a444a2470 (diff)
downloaddwb-ef8b9a8148d4ef36cc90dc1f8098cedd55d1ae6f.zip
Ellipsize dwb:-links correctly
Diffstat (limited to 'src')
-rw-r--r--src/html.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/html.c b/src/html.c
index 81b39046..8254067c 100644
--- a/src/html.c
+++ b/src/html.c
@@ -144,15 +144,17 @@ html_navigation(GList *gl, GList *data, HtmlTable *table) {
<tr class='dwb_table_row'>\n\
<td class=dwb_table_cell_left>\n\
<a href='%s'>\n\
+ <div class='dwb_ellipsize'>\n\
%s\n\
+ </div>\n\n\
</a>\n\
</td>\n\
<td class='dwb_table_cell_middle'>\n\
- <div class='dwb_ellipsize'>\n\
- <a style='color:inherit;font:inherit;' href='%s'>\n\
+ <a style='color:inherit;font:inherit;' href='%s'>\n\
+ <div class='dwb_ellipsize'>\n\
%s\n\
+ </div>\n\
</a>\n\
- </div>\n\
</td>\n\
<td class='dwb_table_cell_right' style='cursor:pointer;' navigation='%s %s' onclick='location.reload()'>\n\
&times\n\
@@ -412,16 +414,18 @@ html_quickmarks(GList *gl, HtmlTable *table) {
<div>\n\
<div class='dwb_qm'>%s</div>\n\
<a href='%s'>\n\
+ <div class='dwb_ellipsize'>\n\
%s\n\
+ </div>\n\
</a>\n\
</div>\n\
</td>\n\
<td class='dwb_table_cell_middle'>\n\
- <div class='dwb_ellipsize'>\n\
<a style='color:inherit;font:inherit;' href='%s'>\n\
+ <div class='dwb_ellipsize'>\n\
%s\n\
+ </div>\n\
</a>\n\
- </div>\n\
</td>\n\
<td class='dwb_table_cell_right' style='cursor:pointer;' navigation='%s %s %s' onclick='location.reload()'>&times</td>\n\
</tr>", q->key, q->nav->first, q->nav->second && g_strcmp0(q->nav->second, "(null)") ? q->nav->second : q->nav->first,