[gnome-commander] Root mode: use kdesu only if there is no other *su



commit 5c83ed7e51dcb5c50a871108ccecf89976caff5b
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Aug 11 00:13:48 2010 +0200

    Root mode: use kdesu only if there is no other *su

 src/gnome-cmd-user-actions.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 9a6848b..22b51d8 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1201,9 +1201,9 @@ void command_root_mode (GtkMenuItem *menuitem, gpointer not_used)
 
     su = g_find_program_in_path ("gksu");
     if  (!su)
-        su = g_find_program_in_path ("kdesu");
-    if  (!su)
         su = g_find_program_in_path ("beesu");
+    if  (!su)
+        su = g_find_program_in_path ("kdesu");
 
     if  (!su)
     {



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