[gnome-commander/gcmd-1-3] Fixed problem #579633 (accessing administrator privileges with gksudo)



commit 2bffc4fb5fff78bbfd8490afa70faef6baec234b
Author: Andrey Cherkinskiy <unihorn pochta ru>
Date:   Sun Apr 26 17:34:33 2009 +0200

    Fixed problem #579633 (accessing administrator privileges with gksudo)
---
 src/gnome-cmd-user-actions.cc |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 949b986..54b408e 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1136,9 +1136,7 @@ void command_root_mode (GtkMenuItem *menuitem, gpointer not_used)
 {
     char *su;
 
-    su = g_find_program_in_path ("gksudo");
-    if  (!su)
-        su = g_find_program_in_path ("gksu");
+    su = g_find_program_in_path ("gksu");
     if  (!su)
         su = g_find_program_in_path ("kdesu");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]