changeset 1670:2239dc484435

added command for editing ufraw id file, changed menu location
author nadvornik
date Sat, 27 Jun 2009 22:40:25 +0000
parents daab013a0dcf
children 36166cd4006b
files plugins/ufraw/Makefile.am plugins/ufraw/geeqie-ufraw-id.desktop.in plugins/ufraw/geeqie-ufraw-recursive.desktop.in plugins/ufraw/geeqie-ufraw.desktop.in
diffstat 4 files changed, 29 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ufraw/Makefile.am	Sat Jun 27 21:12:07 2009 +0000
+++ b/plugins/ufraw/Makefile.am	Sat Jun 27 22:40:25 2009 +0000
@@ -1,7 +1,10 @@
 dist_pkglib_SCRIPTS = geeqie-ufraw
 
 gq_desktopdir = $(pkgdatadir)/applications
-gq_desktop_in_files = geeqie-ufraw-recursive.desktop.in geeqie-ufraw.desktop.in
+gq_desktop_in_files = geeqie-ufraw-recursive.desktop.in \
+                      geeqie-ufraw.desktop.in \
+                      geeqie-ufraw-id.desktop.in
+
 gq_desktop_DATA = $(gq_desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/ufraw/geeqie-ufraw-id.desktop.in	Sat Jun 27 22:40:25 2009 +0000
@@ -0,0 +1,23 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+_Name=Edit UFRaw ID file
+
+Exec=ufraw --create-id=only %U
+
+# show only if ufraw is installed
+TryExec=ufraw
+
+# Desktop files that are usable only in Geeqie should be marked like this:
+Categories=X-Geeqie;
+OnlyShowIn=X-Geeqie;
+
+# Show in menu "Edit"
+X-Geeqie-Menu-Path=EditMenu/EditSection
+
+# It can be made verbose
+# X-Geeqie-Verbose=true
+
+MimeType=application/x-ufraw;image/x-dcraw;
+
+Icon=ufraw
--- a/plugins/ufraw/geeqie-ufraw-recursive.desktop.in	Sat Jun 27 21:12:07 2009 +0000
+++ b/plugins/ufraw/geeqie-ufraw-recursive.desktop.in	Sat Jun 27 22:40:25 2009 +0000
@@ -14,7 +14,7 @@
 OnlyShowIn=X-Geeqie;
 
 # Show in menu "Edit"
-X-Geeqie-Menu-Path=EditMenu
+X-Geeqie-Menu-Path=EditMenu/EditSection
 
 # It can be made verbose
 # X-Geeqie-Verbose=true
--- a/plugins/ufraw/geeqie-ufraw.desktop.in	Sat Jun 27 21:12:07 2009 +0000
+++ b/plugins/ufraw/geeqie-ufraw.desktop.in	Sat Jun 27 22:40:25 2009 +0000
@@ -15,7 +15,7 @@
 OnlyShowIn=X-Geeqie;
 
 # Show in menu "Edit"
-X-Geeqie-Menu-Path=EditMenu
+X-Geeqie-Menu-Path=EditMenu/EditSection
 
 # It can be made verbose
 X-Geeqie-Verbose=true