Commit Graph

758 Commits

Author SHA1 Message Date
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
Sanel Zukan
240c195d87 Removing some incomplete code. 2012-09-24 13:48:16 +00:00
Sanel Zukan
5f89e0a412 Required size_t but not visible in sys/utsname.h. Minix again. 2012-09-24 13:46:09 +00:00
Sanel Zukan
599356843b Minix does not have pselect(). This is also good time to refactor xmlrpc-c dependency check in main configure.in script. 2012-09-24 13:43:51 +00:00
Sanel Zukan
c3aa1a61e6 Minix does not have setrlimit(). 2012-09-24 13:20:02 +00:00
Sanel Zukan
c26b526dcd Importing svn2cl as it is used from script that makes release archives.
Making code DBus optional; all DBus related code is wrapped inside EDELIB_HAVE_DBUS.
2012-09-18 17:49:48 +00:00
Sanel Zukan
0ad6617df4 Removing locks. We need better way to determin if FLTK has compiled in locking support or not. 2012-09-03 13:01:34 +00:00
Sanel Zukan
9eca312821 Added missing stdlib.h header. 2012-09-03 13:00:09 +00:00
Sanel Zukan
2d028fe4a6 Let panel taskbar tries to fetch icons of desired size, if possible. Also squashed a small memory leak in keyboard applet. 2012-08-24 14:15:04 +00:00
Sanel Zukan
b4ad2fb11b ifdef-ed some FLTK 1.3.0 specific code. 2012-08-23 02:29:27 +00:00
Sanel Zukan
89ec43af74 Added guards in case autoupdate feature is disabled. 2012-08-06 14:57:20 +00:00
Sanel Zukan
1dde9f92da Menu reload support and clean of some memory leaks.
Menu reload is using DirWatch to monitor application menu folders for changes. With this, any change on some content will trigger
menu update. Update is trying to be safe as possible: when menu is open, a backup menu will be constructed and replaced as soon as menu
was closed; when is closed, it will be directly replaced.

This still can include races, but I'm hoping they will not occur.

Related to memory leaks: on couple of places in cpu applet, delete was wronly called instead delete[]. Also, when ede-panel exits,
AppletManager would not clean loaded apples. Strange. So now explicit clear was added on exit.
2012-08-06 14:52:09 +00:00
Sanel Zukan
a45609e945 Added copyright/legal info. Cleared some deprecation warnings. 2012-08-06 12:00:25 +00:00
Sanel Zukan
705ea3ebf2 Center the window and fixed one spelling issue. 2012-08-05 23:01:11 +00:00