Commit Graph

721 Commits

Author SHA1 Message Date
Vincent Torri 42f57e9fc3 put alloca declaration after config.h
SVN revision: 55001
2010-11-25 23:48:59 +00:00
Sebastian Dransfeld 14f8c7b24f TODO++--
SVN revision: 54976
2010-11-25 09:41:08 +00:00
Sebastian Dransfeld ffee0081c7 Keep all queried themes in hash
The previous logic would create a fake theme object in
efreet_icon_find_theme_check() if we didn't find the theme. Later in
efreet_icon_theme_dir_scan_all() we would delete this theme, and then
segv. As the user hopefully wont query for a bunch of non existing
themes, and each theme object is fairly small, keep all in hash.

SVN revision: 54975
2010-11-25 09:04:49 +00:00
Sebastian Dransfeld e8e0615c08 only inherit hicolor if theme is valid
SVN revision: 54974
2010-11-25 09:04:39 +00:00
Sebastian Dransfeld 19e3d5ee33 Make icon test work without theme installed
SVN revision: 54973
2010-11-25 09:04:19 +00:00
Sebastian Dransfeld 6be2628e97 revert, name.internal is always set
SVN revision: 54965
2010-11-24 21:34:21 +00:00
Sebastian Dransfeld 58f3f4f363 check if name.internal exists
SVN revision: 54964
2010-11-24 21:31:24 +00:00
Sebastian Dransfeld 748f2423b1 only listen if icon cache is enabled
SVN revision: 54963
2010-11-24 21:29:35 +00:00
Sebastian Dransfeld 04f61e115b we need to monitor each theme dir too
xdg-icon-resource creates and deletes a file called
.xdg-icon-resource-dummy in each dir.

SVN revision: 54962
2010-11-24 21:18:56 +00:00
Sebastian Dransfeld 54ec9cec67 listen to changes for icon dirs
SVN revision: 54957
2010-11-24 21:10:52 +00:00
Sebastian Dransfeld 8f7c47480d use convenience macro
SVN revision: 54954
2010-11-24 20:52:12 +00:00
Sebastian Dransfeld fabda0d559 reorder code
SVN revision: 54953
2010-11-24 20:51:48 +00:00
Sebastian Dransfeld b6a8ffb13d remove unneeded code
SVN revision: 54949
2010-11-24 19:37:01 +00:00
Sebastian Dransfeld 76bf6bc471 And always return
SVN revision: 54931
2010-11-24 11:30:12 +00:00
Sebastian Dransfeld 48471479e8 low prio for cache creation
SVN revision: 54930
2010-11-24 10:44:16 +00:00
Sebastian Dransfeld 7083a3f774 formatting
SVN revision: 54929
2010-11-24 10:33:49 +00:00
Sebastian Dransfeld 1f83aecc41 Always return before error handler
SVN revision: 54928
2010-11-24 10:33:40 +00:00
Sebastian Dransfeld b645d20ab2 fix memleak and use realpath directly
SVN revision: 54927
2010-11-24 10:33:30 +00:00
Sebastian Dransfeld cc981aba4d remove printf
SVN revision: 54926
2010-11-24 09:37:56 +00:00
Sebastian Dransfeld 213be68ade Only update if file has known extension
SVN revision: 54925
2010-11-24 09:37:46 +00:00
Sebastian Dransfeld 3fab0c44cb actually change file, as we don't listen to attrib
SVN revision: 54924
2010-11-24 09:37:35 +00:00
Mike Blumenkrantz e8ae0da271 fix compile
SVN revision: 54917
2010-11-24 02:40:54 +00:00
Mike Blumenkrantz b9588a913f fix conditional
SVN revision: 54916
2010-11-24 02:40:46 +00:00
Sebastian Dransfeld 263745797e Listening for changes is private for desktop
SVN revision: 54911
2010-11-23 21:54:01 +00:00
Sebastian Dransfeld 620121501f Don't close active desktop cache
SVN revision: 54910
2010-11-23 21:35:32 +00:00
Sebastian Dransfeld d6cd4ae87d always init cache
SVN revision: 54908
2010-11-23 21:16:19 +00:00
Sebastian Dransfeld f557446b92 NULL pointers after deletion
SVN revision: 54907
2010-11-23 21:15:55 +00:00
Sebastian Dransfeld 3a0be239f9 And compile without ICON_CACHE
SVN revision: 54905
2010-11-23 20:26:50 +00:00
Sebastian Dransfeld e2c6e11724 move cache file handling from desktop to cache
SVN revision: 54901
2010-11-23 20:14:13 +00:00
Sebastian Dransfeld 69e2339c4f remove unused variables
SVN revision: 54900
2010-11-23 20:13:40 +00:00
Sebastian Dransfeld 38bad7fac0 catch term, not int
SVN revision: 54892
2010-11-23 16:50:16 +00:00
Sebastian Dransfeld 5db48201ce trap sigint
SVN revision: 54891
2010-11-23 16:49:46 +00:00
Sebastian Dransfeld 7e584e6293 ecore is handled in main
SVN revision: 54887
2010-11-23 13:30:51 +00:00
Sebastian Dransfeld 15a241534c touch an update file on completion
SVN revision: 54886
2010-11-23 13:30:39 +00:00
Sebastian Dransfeld f6cb6541e3 rename fd to clarify usage
SVN revision: 54885
2010-11-23 13:30:17 +00:00
Sebastian Dransfeld 86eb1f3367 TODO++
SVN revision: 54834
2010-11-22 21:31:35 +00:00
Sebastian Dransfeld 2762d8ba37 Always emit icon cache update event
If file starts with icon_ and ends with .cache, we have a new icon
cache, emit event.

SVN revision: 54833
2010-11-22 21:30:43 +00:00
Sebastian Dransfeld 7b68d53abc fix fallback icon searching
SVN revision: 54831
2010-11-22 20:51:34 +00:00
Sebastian Dransfeld 09aed7876d close cache file after 60 seconds of inactivity
SVN revision: 54829
2010-11-22 20:51:05 +00:00
Sebastian Dransfeld bdb6cdffd0 read fallback icon from cache
SVN revision: 54828
2010-11-22 20:50:46 +00:00
Sebastian Dransfeld c36317f77c do ecore_init, so ecore_time_get works
SVN revision: 54827
2010-11-22 20:50:32 +00:00
Sebastian Dransfeld 5c4adef911 And use right error handler
SVN revision: 54826
2010-11-22 20:50:09 +00:00
Sebastian Dransfeld 997158486a ecore_file is init'ed in base
SVN revision: 54825
2010-11-22 20:49:52 +00:00
Sebastian Dransfeld 12550e7b58 init ecore_file in base
And add missing ecore_*shutdown() in shutdown

SVN revision: 54824
2010-11-22 20:49:22 +00:00
Sebastian Dransfeld 3624014340 Remove common included header
SVN revision: 54823
2010-11-22 20:49:08 +00:00
Sebastian Dransfeld 44264c2d8f Add ecore headers to private header
Used everywhere

SVN revision: 54822
2010-11-22 20:48:55 +00:00
Sebastian Dransfeld 7ad68afff2 Don't add a new public header
SVN revision: 54821
2010-11-22 20:48:41 +00:00
Sebastian Dransfeld d2b2019675 We always need to to the tasks in init on init
SVN revision: 54820
2010-11-22 20:48:24 +00:00
Sebastian Dransfeld 3c6ce92aa4 remove erronous chars
SVN revision: 54819
2010-11-22 20:47:14 +00:00
Sebastian Dransfeld 862412f11d rename
SVN revision: 54789
2010-11-22 14:16:58 +00:00