nmapsi4 (0.3.1-1) 01_fix_desktop_entry.patch

Summary

 nmapsi4/desktop/nmapsi4-admin.desktop |    4 ++--
 nmapsi4/desktop/nmapsi4.desktop       |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Author: Giuseppe Iuculano <giuseppe@iuculano.it>
Description: Remove Encoding from desktop entry, use su-to-root, fix icon path
--- a/nmapsi4/desktop/nmapsi4-admin.desktop
+++ b/nmapsi4/desktop/nmapsi4-admin.desktop
@@ -4,8 +4,8 @@ Comment=Is a Qt4 interface for nmap scan
 Comment[ru]=Qt4 интерфейс для сканера nmap
 Comment[uk]=Qt4 інтерфейс для сканера nmap
 Comment[it]=Interfaccia Qt4 per nmap
-Exec=kdesu nmapsi4
-Icon=nmapsi4
+Exec=su-to-root -X -c nmapsi4
+Icon=/usr/share/icons/hicolor/32x32/apps/nmapsi4.png
 Terminal=false
 Type=Application
 X-KDE-SubstituteUID=true
--- a/nmapsi4/desktop/nmapsi4.desktop
+++ b/nmapsi4/desktop/nmapsi4.desktop
@@ -5,7 +5,7 @@ Comment[ru]=Qt4 интерфейс длÑ
 Comment[uk]=Qt4 інтерфейс для сканера nmap
 Comment[it]=Interfaccia Qt4 per nmap
 Exec=nmapsi4
-Icon=nmapsi4
+Icon=/usr/share/icons/hicolor/32x32/apps/nmapsi4.png
 Terminal=false
 Type=Application
 Categories=Qt;System;Security;