From: Thomas L. <ta...@ec...> - 2002-04-28 14:17:54
|
I've moved ROX-Filer over to the new MIME-Info spec, a draft of which is now on freedesktop.org. Now we need to think about how configuration should be done: - Currently, we have the 'Show name-to-type rules' button in the Options box. We could continue to use that, but show the new mime-info directories instead of the ones in Choices. - Since we're now sharing the database with GNOME and KDE, we could get the user to configure things though some other tool (eg, gnomecc). - We can make a new dialog box that lets you browse through the defined types, adding and removing patterns and types. Suggestions on what this might look like? -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |
From: Andras M. <ma...@ma...> - 2002-04-29 08:30:00
|
On Sun, Apr 28, 2002 at 15:16:57 +0100, Thomas Leonard wrote: > I've moved ROX-Filer over to the new MIME-Info spec, a draft of which is > now on freedesktop.org. > > Now we need to think about how configuration should be done: [...] > - Since we're now sharing the database with GNOME and KDE, we could get > the user to configure things though some other tool (eg, gnomecc). > > - We can make a new dialog box that lets you browse through the defined > types, adding and removing patterns and types. Suggestions on what this > might look like? How about combining these last two? There would be an option to set the tool of our choice: MIME-info editor: [gnomecc________] Now nothing can stop us ;-) from writing a full-featured ROX application for this purpose, so we don't depend on KDE or GNOME apps. It would have a nice sorted tree view for the MIME types and it'd allow editing every bit of the specification: comments, patterns, contents etc. We can still write the internal editor if it doesn't make ROX too large: (*) Use external MIME-info editor Editor: [gnomecc________] ( ) Use internal MIME-info editor -- Andras Mohari ma...@ma... |
From: FB <fbo...@su...> - 2002-04-29 09:47:35
Attachments:
rox-mime-edit.glade
|
On Sun, Apr 28, 2002 at 03:16:57PM +0100, Thomas Leonard wrote: > I've moved ROX-Filer over to the new MIME-Info spec, a draft of which is > now on freedesktop.org. > Interesting. There will be also a shared (meaning among projects) mime library, or each project is supposed to coide its own mime-handling librray? > Now we need to think about how configuration should be done: > > - Currently, we have the 'Show name-to-type rules' button in the Options > box. We could continue to use that, but show the new mime-info > directories instead of the ones in Choices. > This might be enough. The mime-specs files are ASCII and quite easy to edit. And ROX users are already used to editing files (and there should be few need of doing that). It could be useful to write a shorter version of the specs (say, a spec tutorial) and put a link to it in all the mime directories, so that users new to it know what to do. > - Since we're now sharing the database with GNOME and KDE, we could get > the user to configure things though some other tool (eg, gnomecc). > I'd say no to this. People using ROX in Gnome or (less likely) KDE should already know how to use the respective control center to change the mime-types. > - We can make a new dialog box that lets you browse through the defined > types, adding and removing patterns and types. Suggestions on what this > might look like? This may help people that use only ROX, and don't like to edit direcly the files. I would suggest to make it an independent app, rather than a dialog of the Filer (actually, what about a whole rox-config app?). One problem I see is that the real hard part of the spec is the 'contents' specification. However, people that want to tweak with that are probably more confortable with their preferred editor than with any dialog we could contrieve. The other part that a user may not be interested to fill is the many-language translation of the type description. He probably wants to type-in a description in its own language (that should be guessed by the locale settings). As for suggestions on the dialog, have a look to the attached glade file (GTK 1.x) for ideas. Ciao ----- FB |
From: Thomas L. <ta...@ec...> - 2002-04-29 11:41:56
|
On Mon, Apr 29, 2002 at 11:42:11AM +0200, FB wrote: > On Sun, Apr 28, 2002 at 03:16:57PM +0100, Thomas Leonard wrote: > > I've moved ROX-Filer over to the new MIME-Info spec, a draft of which is > > now on freedesktop.org. > > > Interesting. There will be also a shared (meaning among projects) mime > library, or each project is supposed to coide its own mime-handling > librray? There's no shared library, but KDE already has a parser for .desktop files (which have the same format) and the filer also now has code that can be copied. It's not a very complicated format... > > Now we need to think about how configuration should be done: > > > > - Currently, we have the 'Show name-to-type rules' button in the Options > > box. We could continue to use that, but show the new mime-info > > directories instead of the ones in Choices. > > > This might be enough. The mime-specs files are ASCII and quite easy to > edit. And ROX users are already used to editing files (and there should be > few need of doing that). > It could be useful to write a shorter version of the specs (say, a spec > tutorial) and put a link to it in all the mime directories, > so that users new to it know what to do. OK, I'll put buttons in the Options window to open each directory, and a brief note about the format. Also, a message suggesting using a special editor program... > > - We can make a new dialog box that lets you browse through the defined > > types, adding and removing patterns and types. Suggestions on what this > > might look like? > > This may help people that use only ROX, and don't like to edit direcly the > files. > I would suggest to make it an independent app, rather than a dialog of the > Filer (actually, what about a whole rox-config app?). > As for suggestions on the dialog, have a look to the attached glade > file (GTK 1.x) for ideas. That's broadly what I was thinking of (except in Gtk+-2.0 style). I think it should indeed be a separate application (which will also be better for people using the filer in other desktops). So, who wants to write it? ;-) > One problem I see is that the real hard part of the spec is the 'contents' > specification. That section's probably going to be replaced by a more file-like syntax (once the GNOME and KDE people can agree about which one ;-). -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |
From: FB <fbo...@su...> - 2002-04-30 21:30:29
|
On Mon, Apr 29, 2002 at 12:40:57PM +0100, Thomas Leonard wrote: > > That's broadly what I was thinking of (except in Gtk+-2.0 style). I think > it should indeed be a separate application (which will also be better for > people using the filer in other desktops). So, who wants to write it? ;-) > I might give it a try... if nobody expects it for tomorrow :-) What about doing it in python/gtk ? Python has been already used by other components of ROX, so it would not introduce a completely new dependency for ROX users Ciao ---- FB |
From: Thomas L. <ta...@ec...> - 2002-05-01 11:25:53
|
On Tue, Apr 30, 2002 at 11:27:56PM +0200, FB wrote: > On Mon, Apr 29, 2002 at 12:40:57PM +0100, Thomas Leonard wrote: > > > > That's broadly what I was thinking of (except in Gtk+-2.0 style). I think > > it should indeed be a separate application (which will also be better for > > people using the filer in other desktops). So, who wants to write it? ;-) > > > I might give it a try... if nobody expects it for tomorrow :-) > > What about doing it in python/gtk ? Python has been already used by > other components of ROX, so it would not introduce a completely new > dependency for ROX users Interestingly, the namespace conflict I reported against pygtk, which was previously marked WONTFIX (twice), has now been marked 'target-milestone 2.0'. Things are looking up :-) -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |