SergKolo / files-indicator

Indicator for Ubuntu with Unity desktop for easy access to recent files and folders
MIT License
4 stars 1 forks source link

Enhancements #4

Open SergKolo opened 6 years ago

SergKolo commented 6 years ago
  1. Gio.AppInfo.launch_default_for_uri() should be used as unified method for opening files in their default applications, instead of spawning xdg-open subprocess. This should save up on creating child processes and the indicator uses Gio anyway, so there's no purpose for xdg-open.

  2. Use Gio.DesktopAppInfo.new_from_filename() instead of relying on extensions for .desktop files