Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
28ed6ee5bf Dummy way to search iconv on platformes where it is separate library. More fixes on pekwm configure macros. Fixing compilation for ede-desktop.cpp 2011-11-10 14:20:58 +00:00
Sanel Zukan
9f349dae04 Allow explicit building of local applets. Shrinked buf size for numbers 2011-10-27 15:11:11 +00:00
Sanel Zukan
a23957a49e Removing debug code. 2011-10-26 16:19:21 +00:00
Sanel Zukan
706ef69bfa Importing systray applet. Not completed yet... 2011-10-26 16:04:37 +00:00
Sanel Zukan
7313d248e3 Add it to loader 2011-09-30 11:43:05 +00:00
Sanel Zukan
b2408f4957 Initial import of memory monitor applet 2011-09-30 09:47:20 +00:00
Sanel Zukan
bbbb00fdca Use wm specific code from edelib. 2009-12-17 15:16:35 +00:00
Sanel Zukan
bafdb44a10 Let ede-launch use xterm if TERM was inherited from login console.
Dumping usage of FL_SHOW event in ede-panel; everything is now handled in Panel::show().
Call Panel::hide() even if ede-panel was ended/killed with outside signal; with this configuration file will be stored.
Remember panel position (top/bottom).
2009-11-18 12:24:58 +00:00
Sanel Zukan
c4378d8738 Importing adapted CPU monitor from old eworkpanel as applet 2009-11-05 15:18:51 +00:00
Sanel Zukan
0d49f7bf87 Importing applet for displaying currently used keyboard layout 2009-10-12 11:25:57 +00:00
Sanel Zukan
afde0c641a Commented unused function 2009-10-07 09:26:58 +00:00
Sanel Zukan
28de0f8e96 Using error handler to block XGetImage errors caused in FLTK. Seems how these errors can cause
panel to stop event processing
2009-10-06 11:20:19 +00:00
Sanel Zukan
e694d874fc Do not quit on Esc key. 2009-10-05 11:50:28 +00:00
Sanel Zukan
1f96f833d9 Merging new panel in the trunk. 2009-10-03 07:33:08 +00:00