** Description changed:

- When I click on the Circle of Friend, Unity doesn't show me my preferred
- applications, set in GNOME Control Center.
+ Preferred applications are not stored in GConf anymore. Instead they are
+ stored in ~/.local/share/applications/mimeapps.list. There is a GLib API
+ to access it:
  
- PS: I use latest version of Ubuntu 11.10
+ http://developer.gnome.org/gio/stable/GAppInfo.html#g-app-info-get-
+ default-for-type
  
+ Example in Python:
+ import gio
+ gio.app_info_get_default_for_type("x-scheme-handler/mailto", False)
  
- airon@airon-Ei-105:~$ apt-cache policy gnome-control-center
- gnome-control-center:
-   Instalita: 1:3.0.2-1ubuntu7
-   Kandidata: 1:3.0.2-1ubuntu7
-   Version table:
-  *** 1:3.0.2-1ubuntu7 0
-         500 http://it.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
-         100 /var/lib/dpkg/status
+ The types for default applications are defined in gnome-control-center's
+ function info_panel_setup_default_apps in panels/info/cc-info-panel.c
  
- airon@airon-Ei-105:~$ lsb_release -rd
- Description:  Ubuntu oneiric (development branch)
- Release:      11.10
+ The 4 types we are interested in are:
+ - web browser: x-scheme-handler/http
+ - mail client: x-scheme-handler/mailto
+ - music player: audio/x-vorbis+ogg
+ - photo manager: image/jpeg
+ 
+ Only the first 2 are defined and used in Natty:
+ 
+ Natty and Oneiric
+ x-scheme-handler/http
+ x-scheme-handler/mailto
+ 
+ Oneiric only
+ audio/x-vorbis+ogg
+ image/jpeg

** Also affects: unity
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/805063

Title:
  [dash] preferred applications are not stored in GConf anylonger

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/805063/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to