Commit Graph

821 Commits

Author SHA1 Message Date
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
Sanel Zukan
6f93f25468 Removing obsolete comment. Small reformatting... 2012-11-26 19:45:46 +00:00
Sanel Zukan
c5fd4cd9ee Fixed #198.
When user logout or shutdown the system, a warning dialog was showing about wrong DBus reply. Now are used
ConsoleKit commands 'CanStop' and 'CanRestart' to check can user perform the action.
2012-11-26 19:38:24 +00:00
Sanel Zukan
b7eb2760dc Clang warnings fix 2012-11-15 03:53:36 +00:00
Sanel Zukan
15dd0b0a80 Added support for receiving notifications.
When issue gets update, reporter can receive mail notifications, but has to have bugzilla account first. The later could not be avoided. Implements #201.
2012-11-07 12:49:43 +00:00
Sanel Zukan
c605359ea1 Space cleanup. 2012-11-02 11:57:11 +00:00
Sanel Zukan
013dfcc481 Removing obsolete efltk rule. 2012-10-23 12:44:36 +00:00
Sanel Zukan
0301585b3c Get FLTK and X versions. 2012-10-23 11:17:30 +00:00
Sanel Zukan
07e43f1c2b Cleanup. 2012-10-23 10:31:27 +00:00
Sanel Zukan
61bd398054 Removing some warning lines. 2012-10-23 10:29:20 +00:00
Sanel Zukan
4e0bd12967 Use also 'edelib-' matcher for debugger invoke. Also, emit PID to ede-crasher for further inspection. 2012-10-23 10:21:34 +00:00
Sanel Zukan
1cc61c1d29 Try to read 'core.PID' if can or fallback on 'core'. 2012-10-23 10:20:21 +00:00
Sanel Zukan
b19a713bdf Use str_hash(). Some cleanup. 2012-10-08 15:40:25 +00:00
Sanel Zukan
c39c0718f9 iconv() is a mess between os-es; const char**, char**,... oh my... 2012-09-24 14:01:08 +00:00