[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: dnd - popupmenu
From:       Michael Reiher <michael.reiher () gmx ! de>
Date:       1999-08-06 18:43:32
[Download RAW message or body]

Dawit Alemayehu wrote:
> 
> On Fri, 06 Aug 1999, Dirk A. Mueller wrote:
> > Simon Hausmann <tronical@gmx.net> wrote:
> >
> > > Another feature I'd like is a way to enhance the KonqPopupMenu via a
> > > .desktop file. So if the users clicks on blah.desktop , the menu gets
> > > additional entries, as specified in the blah.desktop:
But IMO the user almost never click directly on .desktop files(except
for launching a program)
> 
> > Well, shouldn't these additional menu entries specified in the MimeType
> > rather than in every .desktop file?
Yes that would probably be better. But there should also be the
possibility to assign menu entries for groups of mime types at once.
Something that could be used for all mimetypes would be for instance
"Send to..." to mail the file or "Compress" to gzip a file. Where es
something like "Open in terminal" makes sence only for folders.
Would it be enough to have only a few predefined groups? All mimetypes,
all files, all folders, all files&folders come to my mind on a first
thought. Then konqy could install some dummy mimetype .desktop files for
those and the user or third party programms can change those.
Otherwise it would get more complicated.

> 
> Mime-type binding has some limitations.  For example, what if you want an
> option "Terminal Here" when you use the RMB on a directory folder ?  How can
> you bind such an action to an mime-type ?  Along the same line you can do other
IsnŽt a folder also a mimetype? If not can it be made one?

> actions such as Copy To -> Floppy or Copy To -> Location... without having to
> hard code them into your sources.   This is the intention of this extension.
> Right Simon ?
But does that work if you put the menuentries in the applications
.desktop files?
> 
> > Imagine somebody wants to have a additional entry for all jpegs he/she
> > has available. That would be quite some work :)
> 
> Right.  And that is why people should modify the application's property to bind
> more apps to it.  This extension is not meant to address this at all.  Ummm ...
Binding more apps to a mimetype is already possible. But "Copy to ->
Floppy" is something that affects *all* file types. YouŽd have to extend
all applications .desktop files and there would still be those files
with an unknown type left.

> but I can see how people can easily get mixed up.  How to solve this problem ?
> 
> > Additionally, we're supposed to keep .desktop files in sync with the
> > gnome-people unless we have very good reason not to do so.
> 
> IIRC, either group can have their own specific extension by prefixing them with
> X- before each of the entries.  This is/was as much as I can recall.
Yeah, IMHO this really shouldnŽt limit us.

Greets

Michael

-- 
Michael Reiher  
     Student at Dresden University of Technology
          Department of Computer Science
               email: michael.reiher@gmx.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic