After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698705 - Glade plugin not enabled and only text display of *.ui files.
Glade plugin not enabled and only text display of *.ui files.
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: glade
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-24 00:42 UTC by aa1ad@arrl.net
Modified: 2013-05-18 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add application/x-gtk-builder to supported mime types of glade plugin (1.06 KB, patch)
2013-04-24 02:15 UTC, Arnel Borja
none Details | Review
Add application/x-gtk-builder to supported mime types of glade plugin (1.09 KB, patch)
2013-04-24 02:51 UTC, Arnel Borja
committed Details | Review

Description aa1ad@arrl.net 2013-04-24 00:42:07 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
Comment 1 Arnel Borja 2013-04-24 02:15:29 UTC
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.
Comment 2 Arnel Borja 2013-04-24 02:51:02 UTC
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.
Comment 3 Sébastien Granjoux 2013-05-06 19:37:56 UTC
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.
Comment 4 Sébastien Granjoux 2013-05-18 16:48:06 UTC
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.