gufw/gufw-10.04.4-su.patch

22 lines
923 B
Diff
Raw Normal View History

diff -Nru gui-ufw-10.04.4.orig/Alacarte_menu/gufw.desktop gui-ufw-10.04.4/Alacarte_menu/gufw.desktop
--- gui-ufw-10.04.4.orig/Alacarte_menu/gufw.desktop 2010-04-11 09:53:33.000000000 +0200
+++ gui-ufw-10.04.4/Alacarte_menu/gufw.desktop 2010-07-08 20:48:09.000000000 +0200
@@ -2,7 +2,7 @@
Version=1.0
Type=Application
Terminal=false
-Exec=su-to-root -X -c /usr/share/gufw/gufw.py
+Exec=kdesu -c /usr/share/gufw/gufw.py
Name=Firewall configuration
Name[zh_CN]=防火墙配置
Name[uk]=Налаштування фаєрволу
diff -Nru gui-ufw-10.04.4.orig/global_command/gufw gui-ufw-10.04.4/global_command/gufw
--- gui-ufw-10.04.4.orig/global_command/gufw 2010-04-11 09:53:33.000000000 +0200
+++ gui-ufw-10.04.4/global_command/gufw 2010-07-08 20:42:29.000000000 +0200
@@ -1,4 +1,3 @@
#!/bin/bash
# This script starts Gufw from the console
-su-to-root -X -c /usr/share/gufw/gufw.py
-
+su -c /usr/share/gufw/gufw.py