Commit Graph

11 Commits

Author SHA1 Message Date
Sanel Zukan
8237708d54 Fixed disabled #ifdef. Also moved refresh interval on 2secs, to easy panel a little bit. 2013-01-11 19:03:37 +00:00
Sanel Zukan
6495f53404 In case we do not have sysinfo() (!linux), create plain box with some info about it. 2013-01-09 14:04:51 +00:00
Sanel Zukan
465eb7dfe3 Moving memory query status code to use sysinfo() instead of /proc. 2013-01-09 13:45:49 +00:00
Sanel Zukan
0cd54534d1 Fixing #205 (Memory applet shows negative swap size).
Fixing bug which is related to memory applet in ede-panel, when swap is used, where negative value was never shown.
2012-12-05 15:14:13 +00:00
Sanel Zukan
39ffa8406b Code cleanup.
Removing usage of EDE_PANEL_APPLET_CLASS since there is no much usage of it. Also, marked all applet widgets as EDE_PANEL_WIDGET_TYPE so panel knows it is widget.

Added license info in some code, but whole ede2 tree needs to be revised for that.
2012-05-30 10:23:27 +00:00
Sanel Zukan
eb175fa89f Moving all class declarations to EDE_PANEL_APPLET_CLASS macro.
This change should make base applet code easier to modify without modifying applets itself. This is also
a starting point for implementation of better routing netwm messages to applets without adding specific listener
to each applet.
2012-05-28 10:57:50 +00:00
Sanel Zukan
8aa9d550b2 Prevent some memory leaks 2012-04-19 12:49:30 +00:00
Sanel Zukan
7d884242bd Do not run timeout callbacks when panel is hidden. This will prevent reading cpu or memory status when their widgets are not visible. 2012-04-11 16:15:01 +00:00
Sanel Zukan
765cb4fc2c Explicit conversion must be on freebsd gcc version 2011-10-29 16:10:41 +00:00
Sanel Zukan
a486d1b3bf Drawing code 2011-09-30 11:41:22 +00:00
Sanel Zukan
b2408f4957 Initial import of memory monitor applet 2011-09-30 09:47:20 +00:00