Commit Graph

74 Commits

Author SHA1 Message Date
Sanel Zukan
f1a37cefd2 Changed icon create/edit dialog, so working path can be set, including startup options like running in terminal or starting with startup nofication hints.
Changed how icons are started. Previously, ede-desktop would extract content from .desktop Exec key and explicitly run it. This would not correctly handle other .desktop details, like startup notification or running in terminal. Now, full .desktop path is sent directly to ede-launch which will take care about named startup details.

These changes also fixes bug #235: "Working directory and startup notification for desktop icons".
2014-02-25 18:16:10 +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
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
756b95587d Fixing some accidentaly lowered chars. 2013-06-05 16:34:06 +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
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
1046c2d4d5 Used new features from IconChooser. 2012-12-26 01:53:08 +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
b7eb2760dc Clang warnings fix 2012-11-15 03:53:36 +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
8eeca59484 Made it static. 2012-07-19 08:23:42 +00:00
Sanel Zukan
3ff0844756 Removed some old code causing undefined behavior.
There were leftovers from previous menu version, where icon will be set for certain MenuItem. However, some of those items are removed causing values to be set outside array's bounds. Yuck!
2012-07-19 08:18:36 +00:00
Sanel Zukan
512645123a Reuse desktop folder path from Desktop class. Also small reordering, so only spaces are
replaced inside file name, not full desktop path.
2012-05-18 12:06:32 +00:00
Sanel Zukan
25128549a7 Focus input instead of image box 2012-05-15 12:51:09 +00:00
Sanel Zukan
1c2cfe3739 Handle case when icon wasn't selected.
By default, 'empty' icon should be used. It is now shown in preview box and will
be selected when icon wasn't explicitly chosen. Also, redraw full desktop when icon was removed, to
prevent displaying icon which isn't available.

Added small delay when icon was removed so directory watcher skip remove event.
2012-05-15 12:49:16 +00:00
Sanel Zukan
eccdcd83ef Icon renaming support. 2012-05-15 11:10:40 +00:00
Sanel Zukan
c2366025b5 Removing old code 2012-05-15 10:55:02 +00:00
Sanel Zukan
05f5f43aca Browsing files support. Real removal, but yet incomplete 2012-05-10 11:19:19 +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
27b8bd888a Going toward implementing creating icons on desktop 2012-04-25 16:28:09 +00:00
Sanel Zukan
b16aa99e08 Implementing creating folders from menu. Also, try to store icon of created item when mouse last clicked 2012-04-23 12:43:20 +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
ffb5307467 Compilation fix by anonymous to compile on TinyCore. 2011-11-10 09:17:40 +00:00
Sanel Zukan
23396ec197 Read font from font cache and display it 2011-11-09 14:08:11 +00:00
Sanel Zukan
f0acacfd89 Some cleanup 2011-10-24 15:30:31 +00:00
Sanel Zukan
c7ec90a607 Removed non-implemented things, for now... 2011-10-24 14:59:22 +00:00
Sanel Zukan
f5e6768f47 Small refactoring 2011-10-18 08:45:55 +00:00
Sanel Zukan
77c2ce9739 Refactoring some icon handling. Dumping trash handling; this should be done by separate application 2011-10-18 08:17:35 +00:00
Sanel Zukan
394566a9a5 Fixed few things for easier compilation with FLTK 1.3.
Forbidden asciidoc to read /etc/asciidoc folder, as it could have newer incopatible asciidoc config files.
2011-08-03 12:20:37 +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
44d997a075 Use common netwm code from edelib. 2009-12-24 15:47:29 +00:00
Sanel Zukan
1031cdb68e Ignore if TERM == dumb on ede-launch.
Check smallest allowed sizes for font and maxwidth in ede-desktop icons.
2009-11-27 22:26:25 +00:00
Sanel Zukan
a324dc2eb0 Some code reformatting.
Fixed pixmap creating issue for 24-bit displays.
2009-11-23 12:52:03 +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
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
2e989474b3 Use callback changes in edelib 2009-11-10 11:10:34 +00:00
Sanel Zukan
445a252644 Make label transparent by default.
Use nice darker blue for default background.
2009-10-08 12:46:45 +00:00
Sanel Zukan
5f5b7da26d Small report change 2009-10-07 14:40:56 +00:00
Sanel Zukan
e6104ff470 Arrange icons if file with icon position wasn't found 2009-10-07 14:38:48 +00:00
Sanel Zukan
c3912222cd Fix some warnings on *BSD's 2009-10-07 09:25:21 +00:00
Sanel Zukan
7398386ad5 Allow ede-launch arguments to be quoted or unquoted 2009-10-03 09:06:05 +00:00
Sanel Zukan
33df6e9231 Removed incomplete edialog.
Imported new and functional ede-dialog.
ede-help uses ede-dialog for error reports; xmessage is not used since some OS-es to not install it 
by default, e.g. OpenSolaris.
Removed obsolete ede-tip.conf.
Fixed background issue in ede-tip; background will now always be white so it can nicely blend with the image.
Commit fixed ede.desktop.in; previous commit was only renaming without content change.
Reduce some debug output in ede-autostart.
2009-08-12 15:26:38 +00:00
Sanel Zukan
e9f1252feb Prevent crash when there is no image data 2009-07-11 10:45:06 +00:00
Sanel Zukan
a425c03182 Removed unneeded execute() member 2009-07-09 14:11:28 +00:00
Sanel Zukan
b6d080e414 Run icon action via menu 'Open' 2009-07-09 13:59:51 +00:00
Sanel Zukan
e147228f53 Again, replacing FLTK menus... 2009-07-09 13:44:16 +00:00
Sanel Zukan
4bc8027cb7 Replacing FLTK menus with the ones from edelib.
Some icons in menus
2009-07-09 13:26:59 +00:00