mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
linkstatus now follows use_spacer. closes bug #1577580
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@778 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
ec5f364be3
commit
ef3d0a19fe
@ -1,5 +1,8 @@
|
||||
# $Id$
|
||||
|
||||
2006-11-15
|
||||
* Change linkstatus display for use_spacer. Closes bug #1577580.
|
||||
|
||||
2006-11-14
|
||||
* Fix compile error with --disable-x11.
|
||||
* Add new timed thread abstraction routines.
|
||||
|
@ -3446,8 +3446,14 @@ static void generate_text_internal(char *p, int p_max_size, struct text_object *
|
||||
|
||||
}
|
||||
OBJ(linkstatus) {
|
||||
snprintf(p, p_max_size, "%d",
|
||||
if (!use_spacer) {
|
||||
snprintf(p, p_max_size, "%d",
|
||||
obj->data.net->linkstatus);
|
||||
} else
|
||||
{
|
||||
snprintf(p, 6, "%d ",
|
||||
obj->data.net->linkstatus);
|
||||
}
|
||||
}
|
||||
#if defined(IMLIB2) && defined(X11)
|
||||
OBJ(image) {
|
||||
|
Loading…
Reference in New Issue
Block a user