chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge disorder.unicode branch
[disorder]
/
disobedience
/
queue.c
diff --git
a/disobedience/queue.c
b/disobedience/queue.c
index 2469f25158857016a083c03f281f9437ab9c37ae..7565935dce915c2e21bbe6faaf84baa68da253c4 100644
(file)
--- a/
disobedience/queue.c
+++ b/
disobedience/queue.c
@@
-55,6
+55,7
@@
*/
#include "disobedience.h"
*/
#include "disobedience.h"
+#include "charset.h"
/** @brief Horizontal padding for queue cells */
#define HCELLPADDING 4
/** @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);
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 */
}
/** @brief Compute the length field */
@@
-508,7
+510,7
@@
static void update_queue(struct queuelike *ql, struct queue_entry *newq) {
/** @brief Wrap up a widget for putting into the queue or title
* @param label Label to contain
/** @brief Wrap up a widget for putting into the queue or title
* @param label Label to contain
- * @param
color Pointer to color
+ * @param
style Pointer to style to use
* @param wp Updated with maximum width (or NULL)
* @return New widget
*/
* @param wp Updated with maximum width (or NULL)
* @return New widget
*/