Commit Graph

8 Commits

Author SHA1 Message Date
Sanel Zukan
3042413e36 Applying patches from Michael to fix openbsd buils. Fixing notification daemon to properly read 'replaces' property. 2015-12-16 17:05:02 +00:00
Sanel Zukan
0b4d9a7f26 More work on opensolaris...
Cleaning some warnings.
Added checks for kstat, so cpu applet can show usage via kstat api. Added tests for kstat in configure script.
2013-01-09 16:01:35 +00:00
Sanel Zukan
1dde9f92da Menu reload support and clean of some memory leaks.
Menu reload is using DirWatch to monitor application menu folders for changes. With this, any change on some content will trigger
menu update. Update is trying to be safe as possible: when menu is open, a backup menu will be constructed and replaced as soon as menu
was closed; when is closed, it will be directly replaced.

This still can include races, but I'm hoping they will not occur.

Related to memory leaks: on couple of places in cpu applet, delete was wronly called instead delete[]. Also, when ede-panel exits,
AppletManager would not clean loaded apples. Strange. So now explicit clear was added on exit.
2012-08-06 14:52:09 +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
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
617bebaab2 Some tooltip text beautification 2010-03-07 23:14:54 +00:00
Sanel Zukan
c4378d8738 Importing adapted CPU monitor from old eworkpanel as applet 2009-11-05 15:18:51 +00:00