Commit Graph

711 Commits

Author SHA1 Message Date
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
a45609e945 Added copyright/legal info. Cleared some deprecation warnings. 2012-08-06 12:00:25 +00:00
705ea3ebf2 Center the window and fixed one spelling issue. 2012-08-05 23:01:11 +00:00
8eeca59484 Made it static. 2012-07-19 08:23:42 +00:00
3ff0844756 Removed some old code causing undefined behavior.
There were leftovers from previous menu version, where icon will be set for certain MenuItem. However, some of those items are removed causing values to be set outside array's bounds. Yuck!
2012-07-19 08:18:36 +00:00
a024e66550 Copyright header and window preservation on mouse enter.
When notification was shown, if given timeout, it can be preserved on screen by entering
with mouse in window area. This can be useful when message with long was shown.
2012-07-17 08:05:52 +00:00
59a16eff0e Fixing panel placement when screen size was changed. Updating main menu to use MenuTooltip code.
When screen dimensions are shrinked, panel will be moved at the correct location but will not be resized correctly. Also,
when screen dimensions are changed again, increasing sizes, panel would not catch that. Here, 'the hack' is to track
root window dimension changes and react on that, since relaying on _NET_WORKAREA is not always good; struts dimentions affects workarea size.

Main menu now has tooltips, which is Comment value from .desktop files. Also, since XdgMenuReader directly plays with MenuItem,
MenuItem::init_extensions() is used to reset uncommon values.
2012-06-07 09:32:27 +00:00
db1ebec5d9 Prevent crashes. Have to investigate further. 2012-06-03 12:29:12 +00:00
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
fde927b627 Small cleanup. Added link for ede-notify-daemon docs. 2012-05-28 14:25:53 +00:00
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
9a664ddb92 Cleaning up some warnings. 2012-05-28 10:00:09 +00:00
0d061c24e7 Marked current code as next versionn 2012-05-21 11:29:25 +00:00
874d756e6b Simple script for doing release magic ede-2.0@3315 2012-05-18 12:47:02 +00:00
512645123a Reuse desktop folder path from Desktop class. Also small reordering, so only spaces are
replaced inside file name, not full desktop path.
2012-05-18 12:06:32 +00:00
a786d9ea7a Added INSTALL_ICON_THEMES option. 2012-05-17 13:31:34 +00:00
0e592d6e0c Adding wallpapers 2012-05-16 12:16:19 +00:00
8bc8e23304 Redone animation code.
Due large number of XFlush-es, on some OS-eses with bad graphic driver (in my case FreeBSD on VirtualBox)
animation considerably slows down, making animation quit OS/driver specific. Using FLTK timer code, animation should
be agnostic as possible.
2012-05-16 11:30:41 +00:00
a5c30864be Removing obsolete locale dir. Added checks for curl/types.h 2012-05-16 08:15:49 +00:00
037460d4b3 Fixes for new curl versions.
Looks like type.h is removed from curl distribution rendering xmlrpc-c code uncompileable. All code is wrapped
around HAVE_CURLTYPES_H. Also if _REENTRANT was defined, gcc will report warning as it is defined by default (:S).
2012-05-16 07:55:41 +00:00
1addbd0c3c Added missing config.h 2012-05-15 13:53:25 +00:00
25128549a7 Focus input instead of image box 2012-05-15 12:51:09 +00:00
1c2cfe3739 Handle case when icon wasn't selected.
By default, 'empty' icon should be used. It is now shown in preview box and will
be selected when icon wasn't explicitly chosen. Also, redraw full desktop when icon was removed, to
prevent displaying icon which isn't available.

Added small delay when icon was removed so directory watcher skip remove event.
2012-05-15 12:49:16 +00:00
eccdcd83ef Icon renaming support. 2012-05-15 11:10:40 +00:00
c2366025b5 Removing old code 2012-05-15 10:55:02 +00:00
04b5c9d1f0 Better resize support.
Body widget is by default hidden and summary is lowered a little bit,
to fill space gap. Also this commit fixes 'position' calls for output
widgets, as this function for these widgets will move cursor at given
position, instead to move widget. Yuck!
2012-05-15 10:28:08 +00:00
2b81f59d45 Center window before it was shown 2012-05-15 09:47:05 +00:00
8b14a06a83 Made window to use border box. 2012-05-10 13:22:34 +00:00
b83f16cb17 Small relayout check when body is visible. 2012-05-10 13:20:39 +00:00
b6cc0dbaed Small docs about ede-notify-daemon. Also small update for README 2012-05-10 12:31:30 +00:00
44cec726b1 Set notification window as notification type. 2012-05-10 12:11:45 +00:00
f844303263 Remove that silly focus box from close button. Also hide those (again silly) cursors for text output field. 2012-05-10 12:04:28 +00:00
ca8146de43 Better icons 2012-05-10 11:51:16 +00:00
30a2644b8c Icons for notify daemon 2012-05-10 11:29:21 +00:00
05f5f43aca Browsing files support. Real removal, but yet incomplete 2012-05-10 11:19:19 +00:00
b195c061e0 Updating 2012-05-10 11:18:03 +00:00
742064b04e Moving login manager to branches. Incomplete too 2012-05-10 11:16:46 +00:00
0bff00e8c3 Moving file manager code to branches. Incomplete 2012-05-10 11:15:07 +00:00
3cc94e7060 * daemonization support
* better placement, alhough this can be improved
* resizing support if text is larger than window
2012-05-10 11:09:35 +00:00
9635713236 Initial commit of notification daemon 2012-05-09 15:56:06 +00:00
dd496f4780 Make dialog-like windows centered. Work on implementing missing ede-desktop functions 2012-05-07 08:53:13 +00:00
27b8bd888a Going toward implementing creating icons on desktop 2012-04-25 16:28:09 +00:00
3c314d9482 Better zooming, small fixes 2012-04-25 09:45:52 +00:00
b16aa99e08 Implementing creating folders from menu. Also, try to store icon of created item when mouse last clicked 2012-04-23 12:43:20 +00:00
8aa9d550b2 Prevent some memory leaks 2012-04-19 12:49:30 +00:00
6b78cb3b0a Made it static 2012-04-19 10:17:26 +00:00
6a06898050 How did I manage to miss this!?@ 2012-04-19 10:12:49 +00:00
403f4be39d Correctly set tray window sizes so tray app can draw icon(s) on correct place. 2012-04-19 10:08:41 +00:00
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
6ef8fead33 Handle case when 'ede-launch ede-launch ...' was given. 2012-04-09 19:02:01 +00:00