Commit Graph

707 Commits

Author SHA1 Message Date
Sanel Zukan
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
Sanel Zukan
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
Sanel Zukan
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
Sanel Zukan
db1ebec5d9 Prevent crashes. Have to investigate further. 2012-06-03 12:29:12 +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
fde927b627 Small cleanup. Added link for ede-notify-daemon docs. 2012-05-28 14:25:53 +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
9a664ddb92 Cleaning up some warnings. 2012-05-28 10:00:09 +00:00
Sanel Zukan
0d061c24e7 Marked current code as next versionn 2012-05-21 11:29:25 +00:00
Sanel Zukan
874d756e6b Simple script for doing release magic 2012-05-18 12:47:02 +00:00
Sanel Zukan
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
Sanel Zukan
a786d9ea7a Added INSTALL_ICON_THEMES option. 2012-05-17 13:31:34 +00:00
Sanel Zukan
0e592d6e0c Adding wallpapers 2012-05-16 12:16:19 +00:00
Sanel Zukan
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
Sanel Zukan
a5c30864be Removing obsolete locale dir. Added checks for curl/types.h 2012-05-16 08:15:49 +00:00
Sanel Zukan
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
Sanel Zukan
1addbd0c3c Added missing config.h 2012-05-15 13:53:25 +00:00
Sanel Zukan
25128549a7 Focus input instead of image box 2012-05-15 12:51:09 +00:00
Sanel Zukan
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
Sanel Zukan
eccdcd83ef Icon renaming support. 2012-05-15 11:10:40 +00:00
Sanel Zukan
c2366025b5 Removing old code 2012-05-15 10:55:02 +00:00
Sanel Zukan
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
Sanel Zukan
2b81f59d45 Center window before it was shown 2012-05-15 09:47:05 +00:00
Sanel Zukan
8b14a06a83 Made window to use border box. 2012-05-10 13:22:34 +00:00
Sanel Zukan
b83f16cb17 Small relayout check when body is visible. 2012-05-10 13:20:39 +00:00
Sanel Zukan
b6cc0dbaed Small docs about ede-notify-daemon. Also small update for README 2012-05-10 12:31:30 +00:00
Sanel Zukan
44cec726b1 Set notification window as notification type. 2012-05-10 12:11:45 +00:00
Sanel Zukan
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
Sanel Zukan
ca8146de43 Better icons 2012-05-10 11:51:16 +00:00
Sanel Zukan
30a2644b8c Icons for notify daemon 2012-05-10 11:29:21 +00:00
Sanel Zukan
05f5f43aca Browsing files support. Real removal, but yet incomplete 2012-05-10 11:19:19 +00:00
Sanel Zukan
b195c061e0 Updating 2012-05-10 11:18:03 +00:00
Sanel Zukan
742064b04e Moving login manager to branches. Incomplete too 2012-05-10 11:16:46 +00:00
Sanel Zukan
0bff00e8c3 Moving file manager code to branches. Incomplete 2012-05-10 11:15:07 +00:00
Sanel Zukan
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
Sanel Zukan
9635713236 Initial commit of notification daemon 2012-05-09 15:56:06 +00:00
Sanel Zukan
dd496f4780 Make dialog-like windows centered. Work on implementing missing ede-desktop functions 2012-05-07 08:53:13 +00:00
Sanel Zukan
27b8bd888a Going toward implementing creating icons on desktop 2012-04-25 16:28:09 +00:00
Sanel Zukan
3c314d9482 Better zooming, small fixes 2012-04-25 09:45:52 +00:00
Sanel Zukan
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
Sanel Zukan
8aa9d550b2 Prevent some memory leaks 2012-04-19 12:49:30 +00:00
Sanel Zukan
6b78cb3b0a Made it static 2012-04-19 10:17:26 +00:00
Sanel Zukan
6a06898050 How did I manage to miss this!?@ 2012-04-19 10:12:49 +00:00
Sanel Zukan
403f4be39d Correctly set tray window sizes so tray app can draw icon(s) on correct place. 2012-04-19 10:08:41 +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
6ef8fead33 Handle case when 'ede-launch ede-launch ...' was given. 2012-04-09 19:02:01 +00:00
Sanel Zukan
89589e95b1 Do not load itself if given as parameter 2012-04-09 11:54:16 +00:00
Sanel Zukan
dcd742392f Implemented old #93 request: panel feature to be placed on screen by dragging (only putting it to top and bottom are available) and setting panel percentage width. 2012-04-04 09:58:23 +00:00
Sanel Zukan
9d38486f61 Small change and attempt to fix workspace switch bug, but without success. Next time... 2012-04-03 09:05:34 +00:00
Sanel Zukan
03eae3c12f Swap names so this item gets latest in the menu list 2012-04-02 19:12:37 +00:00