Cedric BAIL
ba22eb6af8
* efreet: less warning by Albin Tonnerre.
...
SVN revision: 51247
2010-08-17 12:03:10 +00:00
Sebastian Dransfeld
2dc15f4d89
formatting
...
SVN revision: 51137
2010-08-15 19:54:19 +00:00
Sebastian Dransfeld
b001a8968e
Fix theme passed to efreet_icon_cache_add
...
Just pass NULL, no need for NULL theme
SVN revision: 51136
2010-08-15 19:54:08 +00:00
Joerg Sonnenberger
607e5d4b9b
From: Joerg Sonnenberger <joerg@britannica.bec.de>
...
Subject: [E-devel] [PATCH] efreet and icon loading
Hi all,
attached patch fixes two issues:
(1) If using a non-default prefix, share/pixmaps should be checked
before the hard-coded /usr/share/pixmaps fallback. This basically
restores symmetry with the other cases like share/icons.
(2) Do a fallback lookup if the theme is not valid or faked. This can
happen if only hicolor is installed and e17 decides to use Tango.
Before, e.g. gimp's icon wasn't picked up because the short cut was too
early.
SVN revision: 51124
2010-08-15 03:01:55 +00:00
Cedric BAIL
a6645cb746
* eina: fix eina array threadsafe version.
...
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
SVN revision: 51000
2010-08-11 14:32:30 +00:00
Sebastian Dransfeld
03f82b7d73
Fix clearing of theme cache
...
SVN revision: 50825
2010-08-04 21:01:09 +00:00
Sebastian Dransfeld
80c2d94afd
Check NULL return
...
SVN revision: 50821
2010-08-04 19:15:38 +00:00
Lucas De Marchi
0a4617ae38
FORMATTING
...
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816
2010-08-04 16:57:32 +00:00
Sebastian Dransfeld
2ccf1a156d
Remove fake_null try 2
...
SVN revision: 50807
2010-08-04 12:23:00 +00:00
Carsten Haitzler
1837b63b38
ummmm revert. crash crash crash.
...
SVN revision: 50789
2010-08-03 21:32:45 +00:00
Sebastian Dransfeld
eba0c34bf9
Remove unneeded fake_null theme
...
SVN revision: 50788
2010-08-03 20:46:56 +00:00
Sebastian Dransfeld
c623230e98
Remove unneeded eina_hash_del
...
We already checked that this value isn't in the hash.
SVN revision: 50787
2010-08-03 20:46:46 +00:00
Sebastian Dransfeld
b197b55abc
Check return NULL
...
SVN revision: 50786
2010-08-03 20:46:36 +00:00
Sebastian Dransfeld
08e9824c6e
check return value from NEW
...
SVN revision: 50784
2010-08-03 19:31:44 +00:00
Sebastian Dransfeld
99673bb0a8
fix malloc calls
...
check return value and remove unneeded sizeof(char)
SVN revision: 50783
2010-08-03 19:31:34 +00:00
Sebastian Dransfeld
78f80647ea
use eina hash set
...
SVN revision: 50494
2010-07-25 20:28:21 +00:00
Sebastian Dransfeld
d4eb19a520
efreet: formatting
...
SVN revision: 48946
2010-05-17 19:45:20 +00:00
Hannes Janetzek
61df60e3bb
get min/max size only for scalable icons
...
SVN revision: 48924
2010-05-16 21:11:21 +00:00
Hannes Janetzek
3ac99ef29b
fix ret_size used unitialized
...
Threshold is fallback for type
calc min/max dir size for threshold only once
SVN revision: 48923
2010-05-16 21:02:52 +00:00
Sebastian Dransfeld
fc031b899d
efreet: better variable naming
...
SVN revision: 48920
2010-05-16 18:42:43 +00:00
Sebastian Dransfeld
f827867a22
efreet: prefer downsizing
...
SVN revision: 48919
2010-05-16 18:42:33 +00:00
Sebastian Dransfeld
31fa5a1e1d
efreet: use exponential scale for icon size search
...
fd.o spec wants us to use linear distance for icon size search. But
f.ex. when searching for a 128px icon, and the available is 48px and
256px, 256px would be preferable as 256/128 is 2 and 128/48 is 2.67
SVN revision: 48918
2010-05-16 18:41:56 +00:00
Sebastian Dransfeld
8cde10890b
efreet: Don't remove/add stuff already in list
...
eina_list_promote_list to prepend data already in list.
SVN revision: 48898
2010-05-15 18:38:50 +00:00
Hannes Janetzek
af2471c7bc
remove svg from default types.
...
make efreet_icon_extensions prepended a type when it already is in list
SVN revision: 48895
2010-05-15 17:55:41 +00:00
Hannes Janetzek
82b89cea6b
add FIXME
...
SVN revision: 48893
2010-05-15 16:57:28 +00:00
Hannes Janetzek
85dbd6d844
search for svg icons
...
SVN revision: 48891
2010-05-15 16:24:58 +00:00
Sebastian Dransfeld
31f73712f3
efreet: stringshare
...
SVN revision: 47668
2010-04-01 19:41:03 +00:00
Sebastian Dransfeld
d99f80aff7
Fix compiler warnings
...
Found when compiling with --enable-tests and --enable-coverage
SVN revision: 46746
2010-03-01 21:43:59 +00:00
Sebastian Dransfeld
f72d4f9342
Eet cache for efreet desktop
...
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Sebastian Dransfeld
cb4af1da03
Don't add already existing paths to theme
...
SVN revision: 45883
2010-02-04 20:02:56 +00:00
Sebastian Dransfeld
291c525a42
Remove raster's stupid cache
...
And just disable cache limit on the already existing cache.
SVN revision: 45881
2010-02-04 20:02:33 +00:00
Sebastian Dransfeld
0423e1ea99
Formatting
...
SVN revision: 45865
2010-02-04 09:12:35 +00:00
Sebastian Dransfeld
d3419db6cd
Ecore_Str.h -> Eina
...
SVN revision: 45741
2010-01-30 22:13:16 +00:00
Sebastian Dransfeld
af22e351b2
Fix compiler warnings
...
SVN revision: 45199
2010-01-15 20:51:23 +00:00
Christopher Michael
56ec4c946f
When using snprintf or fgets, etc, do not use PATH_MAX directly as the size
...
of the variable...use sizeof() compiler directive (lots of these).
Do not free 'realpath' in efreet_menu if we are going to try and print out
it's value.
If we find 'realpath' in the merged_menus hash, and we are going to return,
then free the realpath variable.
SVN revision: 44699
2009-12-23 20:55:23 +00:00
Vincent Torri
285297dcdd
* API break: _shutdown() functions return an int, now
...
* simplify a bit and fix init/shutdown functions
SVN revision: 42996
2009-10-10 06:19:13 +00:00
Vincent Torri
1403d26dce
remoove unused variables
...
SVN revision: 42877
2009-10-04 22:28:12 +00:00
Hannes Janetzek
6a9f924640
patch from dfjoerg: search also pixmap dirs for icons
...
SVN revision: 42875
2009-10-04 21:55:13 +00:00
Cedric BAIL
05126826a3
* efreet: Use eina_log.
...
Patch from Matthieu.
SVN revision: 42599
2009-09-21 16:36:29 +00:00
Davide Andreoli
5f6ba77546
Don't segfault if 'icon' is null
...
SVN revision: 42490
2009-09-14 20:18:25 +00:00
Vincent Torri
1bf086809e
* move header files in efree_provate.h to the source files
...
* fix compilation on Windows XP (not sure that Windows CE port is needed...)
note that, as ecore_exe is not available on Windows, some code have
been disables for that platform in src/lib/efreet_desktop.c. Also, a new Evil
version should be used (not in svn yet)
The compilation on Windows is needed for Ewl (icon and mime)
SVN revision: 40257
2009-04-20 23:20:40 +00:00
Luis Felipe Strano Moraes
37ff2edaff
Cleanup of clang's static analyzer warnings for efreet.
...
SVN revision: 40114
2009-04-16 17:45:57 +00:00
Cedric BAIL
81ee186382
* efreet: Use the right macro for the cast.
...
SVN revision: 39731
2009-03-26 17:56:51 +00:00
Vincent Torri
908a722bfa
more leak fixes
...
SVN revision: 39650
2009-03-23 12:19:31 +00:00
Carsten Haitzler
ddb11ee846
leaks--! this code is riddled with leaks! really really bad!
...
SVN revision: 39647
2009-03-23 10:27:54 +00:00
Vincent Torri
a7dfd144ac
formatting
...
SVN revision: 39643
2009-03-23 04:58:31 +00:00
Sebastian Dransfeld
5378f8d4d6
Check whether the found item is a directory.
...
SVN revision: 39524
2009-03-17 13:42:21 +00:00
Gustavo Sverzut Barbieri
ab2e35127f
Fix most compiler & clang warnings.
...
Left warnings regarding signed and unsigned comparison since
eina_list_count() returns unsigned, can use a cast in this return, but
not big deal for now.
By: Luis Felipe Strano Moraes & myself.
SVN revision: 39260
2009-02-26 22:35:38 +00:00
Carsten Haitzler
7646b3e4af
fix custom icon dirs api so u CAN add to the icon dirs!
...
SVN revision: 39226
2009-02-26 03:46:35 +00:00
Cedric BAIL
0b41f0e138
* efreet: Fix previously broken efreet cache.
...
SVN revision: 39211
2009-02-25 16:46:51 +00:00