Is seahorse simply linked against the wrong library in Ubuntu?

I tried filing https://bugzilla.gnome.org/show_bug.cgi?id=597310 

with this info

and...@salt2:~/devel/gtktest$ cat test.c
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <glib/gstdio.h>

int main( int   argc, char *argv[] ){
    gboolean uncertain;
    gchar *mime;    
    mime = g_content_type_guess ("/home/anders/.ssh/id_dsa", NULL, 0,
&uncertain);
    g_print ("%s \n", mime);     
    return 0;
}
and...@salt2:~/devel/gtktest$ gcc test.c -o test `pkg-config --cflags --libs
gtk+-2.0`
and...@salt2:~/devel/gtktest$ ./test 
application/octet-stream 
and...@salt2:~/devel/gtktest$ xdg-mime query filetype ~/.ssh/id_dsa 
application/x-pem-key


Interestingly there is a difference between gnomevfs-info and gvfs-info

and...@salt2:~/devel/gtktest$ gnomevfs-info ~/.ssh/id_dsa  2> /dev/null | grep 
MIME | cut -d ":" -f 2 | sed s/"^ "//
application/octet-stream
and...@salt2:~/devel/gtktest$ gvfs-info ~/.ssh/id_dsa 2> /dev/null | grep 
standard::content-type | cut -d ":" -f 4 | sed s/"^ "//
application/x-pem-key


** Bug watch added: GNOME Bug Tracker #597310
   https://bugzilla.gnome.org/show_bug.cgi?id=597310

-- 
import failure: Invalid file format
https://bugs.launchpad.net/bugs/372608
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to seahorse in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to