Commit Graph

118 Commits

Author SHA1 Message Date
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
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
dd496f4780 Make dialog-like windows centered. Work on implementing missing ede-desktop functions 2012-05-07 08:53:13 +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
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
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
765cb4fc2c Explicit conversion must be on freebsd gcc version 2011-10-29 16:10:41 +00:00
Sanel Zukan
9a48273fd4 Fixed issue with drawing label 2011-10-28 09:12:49 +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
c97c675153 Do not tray windows that are not valid 2011-10-27 15:00:15 +00:00
Sanel Zukan
d9e4715752 Setup visual atom for app icons 2011-10-27 13:15:25 +00:00
Sanel Zukan
513ffe504a Fixing way how tray icon window is drawn. This required changing a bit of code here 2011-10-27 12:02:07 +00:00
Sanel Zukan
a23957a49e Removing debug code. 2011-10-26 16:19:21 +00:00
Sanel Zukan
dc27ca1364 Unused code 2011-10-26 16:06:25 +00:00
Sanel Zukan
706ef69bfa Importing systray applet. Not completed yet... 2011-10-26 16:04:37 +00:00
Sanel Zukan
f3ff9ade2d Use for_each 2011-10-07 14:19:04 +00:00
Sanel Zukan
7313d248e3 Add it to loader 2011-09-30 11:43:05 +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
Sanel Zukan
39b5181ad5 Use EDE_APPLICATION to init localization code and set default (and much saner) font size. 2010-03-28 12:54:45 +00:00
Sanel Zukan
eebda8a375 Update icon on demand 2010-03-09 23:38:57 +00:00
Sanel Zukan
bd5dbb7ed9 Application icon support in taskbar button 2010-03-08 22:44:32 +00:00
Sanel Zukan
8711d6c593 Added weekday name in tooltip 2010-03-08 00:03:44 +00:00
Sanel Zukan
617bebaab2 Some tooltip text beautification 2010-03-07 23:14:54 +00:00
Sanel Zukan
83a14d9a27 Let tooltip shows a date 2010-03-07 21:51:06 +00:00
Sanel Zukan
6de400ed8b Use flat box by default 2010-03-07 21:33:55 +00:00
Sanel Zukan
b057ef45a1 Do not display transient windows 2010-01-06 14:45:56 +00:00
Sanel Zukan
66da6a79b6 Do not compile and install demo applet 2009-12-17 15:19:05 +00:00
Sanel Zukan
bbbb00fdca Use wm specific code from edelib. 2009-12-17 15:16:35 +00:00
Sanel Zukan
037196c9be Reduced warnings on gcc 4.4.1.
Let panel applet use GLOBALFLAGS.
Check for XKBrules from XKB extension and conditionally compile code using it.
2009-11-20 17:08:29 +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
cc9725582c Call ede-keyboard-conf when clicked on applet.
Let ede-keyboard-conf uses setxkbmap for setting changes.
ede-desktop foreign callback addopted for latest modification in edelib.
ede-conf will display keyboard configuration.
2009-11-13 11:53:02 +00:00
Sanel Zukan
d48ca850b2 ld on OpenSolaris uses different flag for shared libraries 2009-11-12 13:22:16 +00:00
Sanel Zukan
aa89c86111 Use X path if given 2009-11-12 13:15:27 +00:00
Sanel Zukan
c4378d8738 Importing adapted CPU monitor from old eworkpanel as applet 2009-11-05 15:18:51 +00:00
Sanel Zukan
75aca1e984 Added -fPIC flag for start-menu applet code, that prevented linkage.
Common menu code will be compiled now once in separate library.
2009-10-15 14:51:15 +00:00
Sanel Zukan
0d49f7bf87 Importing applet for displaying currently used keyboard layout 2009-10-12 11:25:57 +00:00
Sanel Zukan
9a3b95faf4 Update callback data when menu is going to be clicked 2009-10-08 13:27:36 +00:00
Sanel Zukan
afde0c641a Commented unused function 2009-10-07 09:26:58 +00:00
Sanel Zukan
aec637be5c Run commands from the menu items 2009-10-06 14:30:48 +00:00
Sanel Zukan
125fedc355 Expand Exec codes and quote Desktop Entry Specification required characters 2009-10-06 14:22:51 +00:00
Sanel Zukan
44d18dc433 Check OnlyShowIn and NotShowIn values if they are given 2009-10-06 12:04:44 +00:00
Sanel Zukan
419a80a732 Removed unused testing files 2009-10-06 11:39:16 +00:00
Sanel Zukan
dc4b1bef47 Use FLTK include flags as we are using it here 2009-10-06 11:26:06 +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
3adaf5a457 Added X11 and FLTK include paths since they are on non-standard locations on *BSD's. 2009-10-05 12:01:43 +00:00
Sanel Zukan
e694d874fc Do not quit on Esc key. 2009-10-05 11:50:28 +00:00
Sanel Zukan
f7466bed21 Some comment fix.
Simple utf8 test.
2009-10-05 09:43:27 +00:00
Sanel Zukan
bbac3c8882 See it as program, so chmod +x can be done on shared library 2009-10-03 09:14:21 +00:00
Sanel Zukan
4d10320856 Updated paths 2009-10-03 07:49:30 +00:00
Sanel Zukan
1f96f833d9 Merging new panel in the trunk. 2009-10-03 07:33:08 +00:00
Sanel Zukan
0b3662910f Removing old panel. 2009-10-03 07:31:29 +00:00
Sanel Zukan
f472787139 Removed obsolete program-links, efltk.conf and ede.conf.
Added some additional menu entries.
Removed unsed build rules.
Fixing autostart code due the latest try_exec() changes.
2009-10-03 07:24:06 +00:00
Sanel Zukan
faf23b7d2f Fix a warning 2009-04-16 11:36:33 +00:00
Sanel Zukan
1e1851e8d2 Update links 2009-03-27 09:37:45 +00:00
Sanel Zukan
2ea73b6996 Merged changed pkg.m4 from edelib
ede-panel has alternative way of calling ede-about dialog

Dumped SettingsApplicator.* code from evoke. They are replaced with ede-settings-apply script
which should call all programs that needs to apply stored settings. This will reduce code entropy

evoke will call ede-settings-apply at the startup

ede-bell-conf modified to use "--apply" arg and to apply known settings

ede-desktop will start icon exec path via ede-launch

Fixed freebsd specific code in ede-panel's battery code
2009-03-03 11:47:30 +00:00
Sanel Zukan
89c13efc6d Reduced one warning message
Let logout menu option call ede-shutdown
2009-02-26 13:35:00 +00:00
Sanel Zukan
c7c8fc92ea Added ede-bell-conf, a tool to configure system bell (that annoying beep thing)
Rest are changes so can nicely be compiled on freebsd
Also, some changes are in coding style
2009-02-26 11:15:27 +00:00
Sanel Zukan
e051472475 Run ede-help and ede-about 2009-02-25 17:34:10 +00:00
Sanel Zukan
5a82fb1c4a Real launch command 2009-02-25 14:09:49 +00:00
Sanel Zukan
ffb6f38ccd elauncher calls replaced with ede-launch 2009-02-25 13:20:39 +00:00
Sanel Zukan
364b729f87 Fixing code to use config.h as default config incude file 2009-02-20 13:10:21 +00:00
Sanel Zukan
f8c3e1ff7c Copying panel from old ede 2009-02-20 13:04:52 +00:00