diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 16:33:49 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 16:33:49 -0500 |
commit | 3e31ea7e339c717c503f7e30ad9738c2b945f3a0 (patch) | |
tree | 97fba0861d23842d47c0b327f081802888fd68b0 | |
parent | 59c7639f5e9f3ef40b06cb0e011216cc748e3f85 (diff) | |
download | gwenview-3e31ea7e339c717c503f7e30ad9738c2b945f3a0.tar.gz gwenview-3e31ea7e339c717c503f7e30ad9738c2b945f3a0.zip |
Update XDG information in support of bug report 892.
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | src/desktopfiles/gwenview.desktop | 2 | ||||
-rw-r--r-- | src/gvcore/archive.cpp | 2 | ||||
-rw-r--r-- | src/gvdirpart/gvdirpart.desktop | 2 | ||||
-rw-r--r-- | src/gvimagepart/gvimagepart.desktop | 2 | ||||
-rw-r--r-- | src/spec/gwenview-mdk.spec | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 8e60545..65e0a0f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -489,7 +489,7 @@ if test "$1" = "default"; then kde_widgetdir='\${libdir}/trinity/plugins/designer' fi if test -z "$xdg_appsdir"; then - xdg_appsdir='\${datadir}/applications/kde' + xdg_appsdir='\${datadir}/applications/tde' fi if test -z "$xdg_menudir"; then xdg_menudir='\${sysconfdir}/xdg/menus' diff --git a/src/desktopfiles/gwenview.desktop b/src/desktopfiles/gwenview.desktop index 9aec864..bba4935 100644 --- a/src/desktopfiles/gwenview.desktop +++ b/src/desktopfiles/gwenview.desktop @@ -102,6 +102,6 @@ Exec=gwenview %u -caption "%c" %i %m Terminal=false Icon=gwenview Type=Application -Categories=Qt;KDE;Graphics; +Categories=Qt;TDE;Graphics; MimeType=image/gif;image/x-xpm;image/x-xbm;image/jpeg;image/x-pcx;image/x-bmp;image/png;image/x-ico;image/x-portable-bitmap;image/x-portable-pixmap;image/x-portable-greymap;image/tiff;image/x-targa; DocPath=gwenview/index.html diff --git a/src/gvcore/archive.cpp b/src/gvcore/archive.cpp index b48b97f..aa5edb7 100644 --- a/src/gvcore/archive.cpp +++ b/src/gvcore/archive.cpp @@ -31,7 +31,7 @@ namespace Archive { typedef TQMap<TQString,TQString> MimeTypeProtocols; -static const char* KDE_PROTOCOL = "X-KDE-LocalProtocol"; +static const char* KDE_PROTOCOL = "X-TDE-LocalProtocol"; static const MimeTypeProtocols& mimeTypeProtocols() { static MimeTypeProtocols map; diff --git a/src/gvdirpart/gvdirpart.desktop b/src/gvdirpart/gvdirpart.desktop index f2632c6..8b437ba 100644 --- a/src/gvdirpart/gvdirpart.desktop +++ b/src/gvdirpart/gvdirpart.desktop @@ -39,6 +39,6 @@ Name[xx]=xxImage Viewxx Name[zh_CN]=图像查看 MimeType=inode/directory ServiceTypes=KParts/ReadOnlyPart -X-KDE-Library=libgvdirpart +X-TDE-Library=libgvdirpart InitialPreference=5 Icon=gvdirpart diff --git a/src/gvimagepart/gvimagepart.desktop b/src/gvimagepart/gvimagepart.desktop index 97ce129..484987f 100644 --- a/src/gvimagepart/gvimagepart.desktop +++ b/src/gvimagepart/gvimagepart.desktop @@ -43,6 +43,6 @@ Name[xx]=xxGwenview Image Viewerxx Name[zh_CN]=Gwenview 图像查看器 MimeType=image/gif;image/jpeg;image/png;image/x-bmp;image/x-eps;image/x-ico;image/x-krl;image/x-portable-bitmap;image/x-portable-pixmap;image/x-xbm;image/x-xpm ServiceTypes=KParts/ReadOnlyPart -X-KDE-Library=libgvimagepart +X-TDE-Library=libgvimagepart InitialPreference=5 Icon=gwenview diff --git a/src/spec/gwenview-mdk.spec b/src/spec/gwenview-mdk.spec index 07e445c..805dbf0 100644 --- a/src/spec/gwenview-mdk.spec +++ b/src/spec/gwenview-mdk.spec @@ -113,7 +113,7 @@ mkdir -p %buildroot/%_datadir/applnk/Multimedia/Graphics %makeinstall install -d %buildroot/%_menudir/ -kdedesktop2mdkmenu.pl %{gvname} "Multimedia/Graphics" %buildroot/%_datadir/applications/kde/%{gvname}.desktop %buildroot/%_menudir/%{gvname} +kdedesktop2mdkmenu.pl %{gvname} "Multimedia/Graphics" %buildroot/%_datadir/applications/tde/%{gvname}.desktop %buildroot/%_menudir/%{gvname} #icons for rpmlint mkdir -p %buildroot/{%_liconsdir,%_miconsdir,%_iconsdir} @@ -156,7 +156,7 @@ ln -s %_datadir/icons/hicolor/16x16/apps/%{gvname}.png %buildroot/%_miconsdir %_liconsdir/%{gvname}.png %_iconsdir/%{gvname}.png %_miconsdir/%{gvname}.png -%_datadir/applications/kde/%{gvname}.desktop +%_datadir/applications/tde/%{gvname}.desktop %_datadir/config.kcfg/gvconfig.kcfg %dir %_datadir/doc/HTML/ %_datadir/doc/HTML/* |