Launching MIME helpers



Hello!

Simple question:

What's considered to be the Right Way to launch a helper 
for a given MIME type from inside my GNOME 2.0 app, 
preferrably "default" helpers?

I noticed Balsa does something like:

  gchar *mime_helper_exec;
  gchar *link_name;

  [...]

  mime_helper_exec=g_strdup_printf("xmms -p %s",link_name);
  gnome_execute_shell(NULL,mime_helper_exec);

  [...]

TIA.

-- Ole




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]