Commit Graph

784 Commits

Author SHA1 Message Date
Sanel Zukan
932e2c85fd Load hider too. 2013-06-06 09:04:42 +00:00
Sanel Zukan
2726a2af37 Do not return from read_config() when configuration isn't present: applet will not be loaded. 2013-06-06 09:00:44 +00:00
Sanel Zukan
756b95587d Fixing some accidentaly lowered chars. 2013-06-05 16:34:06 +00:00
Sanel Zukan
6d1a140375 Changing uneeded const specifier for given va_list type. 2013-06-04 09:59:35 +00:00
Sanel Zukan
ca5911fe94 Use flat box so redraw() can update changed image correctly. 2013-06-03 21:47:26 +00:00
Sanel Zukan
05f7fc15e1 Inside battery applet, do not load icon on every change event by device. Instead, check if we really need to change icon (e.g. states between 'battery' and 'battery-caution' are changed) then load it.
A small formatting inside Panle and AppletManager.
2013-06-03 17:39:50 +00:00
Sanel Zukan
b24b859a4f Read applets and hider from configuration. Go to builtin order as fallback. 2013-06-03 13:44:59 +00:00
Sanel Zukan
8a0f7135ee Load system wide battery applet installation. Also added explicit linkage for libdl... 2013-06-03 11:15:59 +00:00
Sanel Zukan
a2a6f6034d Removed some test code. 2013-06-03 11:11:57 +00:00
Sanel Zukan
d30685514c In case DBus wasn't available, do not compile DBus related code. 2013-06-03 11:11:07 +00:00
Sanel Zukan
85490945e6 Importing UPower powered battery monitor. 2013-06-03 11:01:38 +00:00
Sanel Zukan
5bfe346880 Manualy merging ede-desktop2 branch. SF merging facility (ignores valid login) sux badly. 2013-05-30 13:07:49 +00:00
Sanel Zukan
9d1f4699de These days linking with XShape extension must be done explicitly. 2013-05-30 12:31:25 +00:00
Sanel Zukan
70e9a9b0b6 Cleaned a little bit strut handling. Oddly, this fixed strut ignoring value for xfwm4... 2013-03-04 23:18:17 +00:00
Sanel Zukan
a8b01d75c1 Set XDG_CURRENT_DESKTOP on startup. 2013-02-18 23:38:52 +00:00
Sanel Zukan
c8323b386d Do not run .desktop files which has OnlyShowIn/NotShowIn without 'EDE' as key. 2013-02-04 00:02:28 +00:00
Sanel Zukan
229914358a Support for panel height resize.
Now, when panel height get resized, children will update their height's too. Children height is always calculated in form (parent()->h() - 10).
2013-01-17 23:53:11 +00:00
Sanel Zukan
7c4628dfa1 Prevent switch to different workspace when minimizing last window on current workspace. 2013-01-17 22:49:49 +00:00
Sanel Zukan
7760130feb Updating year... 2013-01-16 22:47:33 +00:00
Sanel Zukan
8237708d54 Fixed disabled #ifdef. Also moved refresh interval on 2secs, to easy panel a little bit. 2013-01-11 19:03:37 +00:00
Sanel Zukan
19da305d71 Warning cleanup. 2013-01-09 16:06:45 +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
6495f53404 In case we do not have sysinfo() (!linux), create plain box with some info about it. 2013-01-09 14:04:51 +00:00
Sanel Zukan
d0d94e21dd Comment local applets option. 2013-01-09 13:47:08 +00:00
Sanel Zukan
465eb7dfe3 Moving memory query status code to use sysinfo() instead of /proc. 2013-01-09 13:45:49 +00:00
Sanel Zukan
e01506d58a Fixed stupid opensolaris requirement for c98... 2013-01-09 13:15:03 +00:00
Sanel Zukan
e4cf7ba8cf Use more space for key values. 2013-01-07 15:11:54 +00:00
Sanel Zukan
24a85295fa Added a few terms more. 2013-01-07 15:09:40 +00:00
Sanel Zukan
b5d2e20cee Fix for #186: ede-launch does not read Terminal key from desktop.
ede-launch now will read Terminal key, and if set to true, will load default selected terminal (or one of known terminals). It will also read now StartupNotify key, and initiate startup-notification protocol if compiled in; by default, it will not use startup notifications.

Resource loading is now made lazy, so first need for ede-launch configuration will load it from file.
2013-01-07 15:07:24 +00:00
Sanel Zukan
31d35e627a Fixed #194: ede-desktop will not save icon position on Shutdown. Code cleanup.
When user hit shutdown or restart from dialog, evoke will immediately sent shutdown/restart signal, causing abnormal X termination, killing all childs. With this commit, evoke will first close all X childs, then send shutdown/restart signal.
2013-01-05 03:39:09 +00:00
Sanel Zukan
c93bfdf7ee Fix for icon pick from icon chooser.
Now loader will use IconLoader::set() to fetch icon from choosen result.
2013-01-04 15:01:55 +00:00
Sanel Zukan
6a7296bcae Comment debug build. 2013-01-04 14:38:33 +00:00
Sanel Zukan
7b1245f06a Moving hider to panel itself, instead as separate applet.
Hider calls some Panel specific code and doing that from applet will make shit like selinux or apparmor quite unhappy (due relocations), which will refuse to start ede-panel. ...yet another workaround for that crapy security junk.
2013-01-04 14:36:40 +00:00
Sanel Zukan
d09f846380 Better handling on workspace change and setting sticky tag for window. Implemented #217: all windows in taskbar, no matter which desktop was used. 2013-01-04 13:05:42 +00:00
Sanel Zukan
7431373b29 Speed up removal items from group (FLTK 1.3 added faster method). Also fixing strange issue with desktop switch during minimize.
Added AppletWidget class, an experimental code for widgets that wants to accept custom methods. Needs completion though
2013-01-04 10:33:53 +00:00
Sanel Zukan
22f4e094cf Do not create unnecessary test binary. This also prevents TEXTRELS errors on systems where relocations are tracked. 2012-12-27 15:34:59 +00:00
Sanel Zukan
1046c2d4d5 Used new features from IconChooser. 2012-12-26 01:53:08 +00:00
Sanel Zukan
97da788155 Fixing #211: startede refers to old X11R6 resource path.
In startede sysresources are refering to older X11R6 (now is X11R7). Also as reported, on some systems the path '/usr/X11' is used too. Solving by removing resource usage at all; not seeing any usefulness of it...
2012-12-20 12:32:44 +00:00
Sanel Zukan
3df8f4ed7e Fixing long standing issue with tray space when tray icon gets destroyed.
When tray icon gets destroyed, space it was occupying would not be cleaned, yielding wholes inside taskbar. Fixing by explicitly hiding and deleting FLTK window which holded application tray window.
2012-12-20 01:50:00 +00:00
Sanel Zukan
eed00b3fbc Added title for panel and desktop, so we can find them in xrestop list. 2012-12-20 01:16:01 +00:00
Sanel Zukan
8bb9028df3 Implementing #213 (Make taskbar buttons stretchable).
Taskbar buttons now can be stretchable or fixed size as before. This commit also fixes a couple of drawing issues when workspace was changed.
2012-12-20 00:58:30 +00:00
Sanel Zukan
a3f2a79d5f Looks like sawfish likes WM_WINDOW_STATE_ICONIC more than NETWM_STATE_HIDDEN. 2012-12-17 22:26:55 +00:00
Sanel Zukan
fc4474f1c7 Removed usage... 2012-12-17 18:58:39 +00:00
Sanel Zukan
68959abca2 Removed unused list. 2012-12-17 18:56:59 +00:00
Sanel Zukan
fb708f76ed Closing #212: Panel buttons are reodered on titlebar click.
By default, pekwm will reorder window list on input focus (probably to optimize things) and this would also reorder buttons inside taskbar. Also, on new window list, all panel buttons would be recreated again, causing many allocations and deallocations. Now, window list received from wm is compared agains internal window storage for diffs.

Fixing this issue made removal some old edewm specific code and made panel nicely working under sawfish ;)
2012-12-17 15:49:33 +00:00
Sanel Zukan
9751acdd9e Removing decor from titlebar menus. Fixing some shortcuts so titlebar menus does not appear. 2012-12-06 01:21:12 +00:00
Sanel Zukan
a970841a4f Do not allow running commands from window menu. 2012-12-06 00:37:48 +00:00
Sanel Zukan
804374ebe3 Menu somehow got erased :S. Sanitizing it... 2012-12-06 00:34:36 +00:00
Sanel Zukan
e4d7e831c9 s/struct/class to make clang happy 2012-12-05 15:31:29 +00:00
Sanel Zukan
0cd54534d1 Fixing #205 (Memory applet shows negative swap size).
Fixing bug which is related to memory applet in ede-panel, when swap is used, where negative value was never shown.
2012-12-05 15:14:13 +00:00