GNOME Bugzilla – Bug 698705
Glade plugin not enabled and only text display of *.ui files.
Last modified: 2013-05-18 16:48:27 UTC
Happens with shared-mime-info version 1.1 or later. Happens on anjuta vers 3.6.2 and 3.7.X In 1.1, x-gtk-builder type was added to the database. I manually removed the type x-gtk-builder from the 1.1 database, then ran update-mime-database and anjuta again displayed the *.ui file graphically. To eliminate a packaging problem on this Fedora fc18 distribution, I did a fresh install of the distribution, and installed from source, both anjuta and shared-mime-info 1.1 without success until I removed the x-gtk-builder type and rebuilt the database. So I'm not sure whether the problem is anjuta or the format of the x-gtk-builder database entries of the mime database. Regards, Ernie D
Created attachment 242301 [details] [review] Add application/x-gtk-builder to supported mime types of glade plugin I could reproduce this bug in Fedora 18. Attached patch should fix this bug. This happens because the Glade plugin doesn't have application/x-gtk-builder in its list of supported mime types yet. The patch will do this.
Created attachment 242305 [details] [review] Add application/x-gtk-builder to supported mime types of glade plugin Noticed that the message is a bit off, sorry.
It looks like it is due to this change in the mime database: https://bugs.freedesktop.org/show_bug.cgi?id=28020 I'm waiting some time to see if there are more comments.
There is an explanation in the last comment of the freedesktop bug database, so it seems that we have to support both type. So the patch is just fine. I have committed in the branch 3.8 too. Thank Arnel.