From kfm-devel Wed Feb 23 16:30:13 2000 From: Christoph Pickart Date: Wed, 23 Feb 2000 16:30:13 +0000 To: kfm-devel Subject: RE: More comfortable templates-menu X-MARC-Message: https://marc.info/?l=kfm-devel&m=95132376708746 On Wed, 23 Feb 2000, David Faure wrote: >> Hi, >> >> I would like to make a proposal for the template-handling in >> konquerer: >konqueror :) Sorry. >> When I have several files of the same kind in my templates-folder (e.g. >> one html-file with an one without frames, or even a .kde.html), >> I have to give >> them ugly names which look not very good in the menu. I also have to >> copy each template I want to use to the template-folder. >> My proposal is that you have a desktop-file for each template-file >> which is not itself a desktop-file. The desktop-file would >> contain e.g. the type (Type=Template), >> the location >> (Source=file:/usr/share/lyx/templates/dinbrief.lyx e.g.) >> and the name >> (Name=DIN Letter for LyX). >> One could also have an action associated with the template, wich could >> be simly to copy the file or to execute an application with an URL. >> What do you think of it? > >Excellent, excellent idea. > >> I hacked this in kfm (1.1.2), so I think it would not be so >> hard to do. > >Do you feel like implementing it in konqueror ? :-) I can give it a try. It should not be so hard, because the knewmenu.cc seems much like the code in popup.cpp. But I never worked with cvs, so do you think it would be ok if I hacked one of the daily dists and give you the changed files? I think it should only be the knewmenu.cc. -- Christoph Pickart Institut fuer angewandte Mathematik Bonn Universitaet Bonn Tel.: 0228/733426 e-mail: pickart@iam.uni-bonn.de http://www.iam.uni-bonn.de/~pickart