summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 16:33:49 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 16:33:49 -0500
commit3e31ea7e339c717c503f7e30ad9738c2b945f3a0 (patch)
tree97fba0861d23842d47c0b327f081802888fd68b0 /src
parent59c7639f5e9f3ef40b06cb0e011216cc748e3f85 (diff)
downloadgwenview-3e31ea7e339c717c503f7e30ad9738c2b945f3a0.tar.gz
gwenview-3e31ea7e339c717c503f7e30ad9738c2b945f3a0.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'src')
-rw-r--r--src/desktopfiles/gwenview.desktop2
-rw-r--r--src/gvcore/archive.cpp2
-rw-r--r--src/gvdirpart/gvdirpart.desktop2
-rw-r--r--src/gvimagepart/gvimagepart.desktop2
-rw-r--r--src/spec/gwenview-mdk.spec4
5 files changed, 6 insertions, 6 deletions
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/*