Sanel Zukan
30d0261cd3
If .desktop file set Path key, obey to it and change current working directory.
2014-02-25 18:02:39 +00:00
Sanel Zukan
97886f254a
free() requires stdlib.h, which is visible in FLTK 1.3
2013-10-28 23:47:11 +00:00
Sanel Zukan
095feb98e7
Allow last changes to be compileable with FLTK 1.1.x. This way I found some rand()/srand() calls without stdlib.h inclusion...
2013-10-28 23:42:40 +00:00
Sanel Zukan
361d3a532a
Show tooltip over icon if icon contains Comment key.
2013-10-28 21:51:05 +00:00
Sanel Zukan
2c9f804aa3
Removing emountd; this code isn't used much as HAL is deprecated long time ago. Obviously, mounting notifications will be redone in future.
2013-10-02 01:35:18 +00:00
Sanel Zukan
bee5fd8fb9
Removing old ede-desktop.h. Adding support for editing existing icons.
...
Editing will be done simply by creating first .desktop file and letting ede-desktop to read it, performing some
checks to determin if only content was changed or file was renamed. Using this scheme, beside it simplify the code,
it addresses the cases when icon was modified outside the desktop or removed.
These things could be solved by using DirWatch, but I'm trying to rely less on OS notification system...
2013-06-24 14:40:28 +00:00
Sanel Zukan
db9e0bad61
Added fallback in case dirent's d_type wasn't set. Seems how Slackware follows POSIX strictly than others.
2013-06-07 22:19:00 +00:00
Sanel Zukan
fc433aa342
Better handling if configuration isn't present.
2013-06-06 09:48:01 +00:00
Sanel Zukan
0d6f18e867
Do not exit from read_config() even if reading file fails; edelib::Config class will simply use fallback values instead.
2013-06-06 09:44:50 +00:00
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