[gnome-commander/gcmd-1-2-8] Root mode: use kdesu only if there is no other *su



commit 606d800b6f75198754ff8a5b5a6095fd9809409a
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 5a53dfa..412dfdc 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1110,9 +1110,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]