Modify

Ticket #531 (closed Enhancement: Fixed)

Opened 2 years ago

Last modified 2 years ago

patch to add monitoring of .desktop files chnages for efreet

Reported by: uman Owned by:
Priority: Nice To Have Milestone:
Component: efreet Keywords:
Cc: Blocked By:
Blocking:

Description

Add monitoring of standard directories for desktop files and updating efreet cache according to changes.

Attachments

efreet_monitor.patch Download (19.2 KB) - added by uman 2 years ago.

Change History

Changed 2 years ago by uman

comment:1 Changed 2 years ago by englebass

Sorry, but this patch is the wrong approach. The point with the cache is that several processes will share the cache, so one process can't rewrite it.

Processes must monitor for changes and then run efreet_desktop_cache_create. This process will create a new cache which processes then can reload.

Working on it ATM.

Sebastian

comment:2 Changed 2 years ago by uman

I agree it maybe wrong approach. But point of that patch was simple,now whenever somebody create new application desktop file from inside e17 it will never appear in list of available applications, you need fully rebuild cache.The same will happen if new application was installed or removed or even if u changed some properties with eapp editor. I wrote it just to make e17 more usable for me.

comment:3 Changed 2 years ago by englebass

There are some other e programs using efreet, so you can get some weird segv's if you use this patch.

comment:4 Changed 2 years ago by englebass

  • Status changed from new to closed
  • Resolution set to Fixed

This should be fixed correctly now.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.