[gedit-list] [PATCH] tell gnome-vfs that gedit can handle all gnome-vfs uris



Hi,

The attached patch adds a .applications file which will tell to
gnome-vfs that gedit can be used to open all the uris known to gnome-vfs
(this will only work with gnome-vfs 2.1). This could also be changed in
gnome-mime-data, and then this patch wouldn't be needed, but I don't
know what is best

Christophe



? data/gedit.applications
Index: data/Makefile.am
===================================================================
RCS file: /cvs/gnome/gedit/data/Makefile.am,v
retrieving revision 1.1
diff -u -d -b -u -r1.1 Makefile.am
--- data/Makefile.am	8 Jul 2002 16:27:24 -0000	1.1
+++ data/Makefile.am	8 Dec 2002 17:13:00 -0000
@@ -20,6 +20,10 @@
 
 man_MANS = gedit.1
 
+app_DATA = gedit.applications
+appdir = $(datadir)/application-registry
+
+
 EXTRA_DIST = $(desktop_in_files)	\
 	$(desktop_DATA)			\
 	$(keys_in_files)		\
@@ -28,7 +32,8 @@
 	$(schemas_DATA)			\
 	$(server_in_files)		\
 	$(server_DATA)			\
-	$(man_MANS)
+	$(man_MANS)			\
+	$(app_DATA)
 	
 install-data-local:
 	        if test -z "$(DESTDIR)" ; then \
gedit
	command=gedit
	name=gedit
	can_open_multiple_files=false
	expects_uris=true
	requires_terminal=false
	mime_types=text/*,text/html,text/plain
	uses_gnomevfs=true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]