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 611535 - .tpl (template) files not showing in file browser
.tpl (template) files not showing in file browser
Status: RESOLVED NOTGNOME
Product: gedit
Classification: Applications
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-01 23:31 UTC by Angel Abad
Modified: 2010-03-14 14:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Angel Abad 2010-03-01 23:31:01 UTC
From Ubuntu Karmic marxus reported:

".tpl (template) files are not showing from gEdit file browser. Is there a way to fix this or it's a known bug?"

".tpl are file extension used in Smarty Templating Engine. I used gEdit as my editor/IDE in programming. Since File Browser Pane is not activate automatically from gEdit, I needed to enable it by going to Edit->Preferences->Plugin and then check File Browser Pane. From the file browser, I can browse all my web files (.php,.html,.css,.js) except .tpl files."

Thanks!

Launchpad ref: https://bugs.edge.launchpad.net/ubuntu/+source/gedit/+bug/488594
Comment 1 Paolo Borelli 2010-03-14 14:15:04 UTC
this is probably due to the fact that gio does not report them as "text" files, if you right click on the file browser and select filter->show binary they should be listed.

To fix it properly the mime type database of freedesktop's shared-mime-info should report them as descendants of text/plain mime type.