Add .sql extension to gloobus-preview

Bug #511191 reported by Andrew Senyshyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gloobus-preview
Fix Committed
Wishlist
BadChoice

Bug Description

It would be good to enable preview for text files with .sql extensions (like for .cpp or .h files)
file type is detected as text/x-sql

Tags: wishlist
BadChoice (guitarboy000)
Changed in gloobus-preview:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → BadChoice (guitarboy000)
milestone: none → 0.5.1
Revision history for this message
ammonkey (am-monkeyd) wrote :

It is a good idea but it should only be distributed in a separate package as an option. something like gloobus-preview-plugin.
Otherwise gloobus-preview will become heavier and heavier and the previewer we like for his speed would become slow. Not everybody are interested in this. But it 's something i'll use definitely ;)

maybe plugins should be developed in python as it is good for fast development?

Revision history for this message
BadChoice (guitarboy000) wrote :

About te sql it really easy to add it, we have the plugin ready, I just need to add it to the plugin-text mimetypes, anyway, I'll do it as in plugin-pixbuf, getting all mimes supported by gtksourceview and add them.

I was thinking about two things,

1. Add the common plugins directly in the code (like the default interface) so it will be in the executable, and then keep other plugins as .so like now are sure this will be faster to load

2. Add a plugin-mime file with a list of each plugin wich mime types opens, and then, just load the .so need instead of load all the .so available

What do you think?

Changed in gloobus-preview:
milestone: 0.5.1 → 0.5
BadChoice (guitarboy000)
Changed in gloobus-preview:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.