chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
11f598d
)
Disobedience now honors config->short_display. This is a bit grotty
author
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 19 Nov 2007 17:01:19 +0000
(17:01 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 19 Nov 2007 17:01:19 +0000
(17:01 +0000)
as we have access to enough information to do a better job of
truncation, but it'll do for now.
disobedience/queue.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/queue.c
b/disobedience/queue.c
index fb1b73ea2df15219ab4c708005fb1e3ae16af142..7565935dce915c2e21bbe6faaf84baa68da253c4 100644
(file)
--- a/
disobedience/queue.c
+++ b/
disobedience/queue.c
@@
-55,6
+55,7
@@
*/
#include "disobedience.h"
+#include "charset.h"
/** @brief Horizontal padding for queue cells */
#define HCELLPADDING 4
@@
-430,7
+431,8
@@
static GtkWidget *column_namepart(const struct queuelike
const char *data) {
D(("column_namepart"));
NW(label);
- return gtk_label_new(namepart(q->track, "display", data));
+ return gtk_label_new(truncate_for_display(namepart(q->track, "display", data),
+ config->short_display));
}
/** @brief Compute the length field */