1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/deskutils/gdesklets/files/patch-libdesklets::Memory.py
Joe Marcus Clarke 909f4ceccd * Fix threading and SysInfo functionality on FreeBSD [1]
* Fix plist

PR:		59389
Submitted by:	maintainer
Obtained from:	Franz Klammer <klammer@webonaut.com> [1]
2003-11-17 23:15:22 +00:00

16 lines
543 B
Python

# Many thanks to Alexander Leidinger <netchild@FreeBSD.org> and
# Franz Klammer <klammer@webonaut.com> for help and create
# those patches.
--- libdesklets/Memory.py.orig Sun Nov 16 17:02:45 2003
+++ libdesklets/Memory.py Sun Nov 16 17:03:19 2003
@@ -49,7 +49,7 @@
# Swap
elif (mode == 1):
- total, used, free = glibtop.get_mem()[:3]
+ total, used, free = glibtop.get_swap()[:3]
#for l in lines:
# if (l.startswith("SwapTotal:")):
# value = l.split()