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



commit 22851beeff2fd4ea15b799b35074e7bdf4e9b8ef
Author: Andrey Cherkinskiy <Andrey Cherkinskiy unihorn pochta ru>
Date:   Wed Apr 22 08:25:19 2009 +0200

    Fixed problem #579633 (accessing administrator privileges with gksudo)
---
 ChangeLog                     |    5 +++++
 NEWS                          |    1 +
 doc/C/gnome-commander.xml     |    3 +++
 src/gnome-cmd-user-actions.cc |    4 +---
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 713adcc..a6028d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-22  Andrey Cherkinskiy
+
+	* src/gnome-cmd-user-actions.cc:
+	Fixed problem #579633 (accessing administrator privileges with gksudo)
+
 2009-04-15  <nejc nejc info>
 
 	* src/gnome-cmd-rename-dialog.cc:
diff --git a/NEWS b/NEWS
index dee5b22..32e3e98 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ Bug fixes:
  * Fixed problem #571247 (replacing obsoleted GnomePixmap with GtkImage)
  * Fixed problem #571558 (replacing deprecated GNOME_STOCK_* buttons with GTK_STOCK_* counterparts)
  * Fixed problem #576174 (case insensitive file name sorting in non en_US.utf8 locale)
+ * Fixed problem #579633 (accessing administrator privileges with gksudo)
  * Fixed problem with setting equal pane size in horizontal mode
  * Fixed problem with refreshing MIME information after file renaming
 
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 45d1826..c9ec4f8 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -5949,6 +5949,9 @@
                             <para>Fixed problem #576174 (case insensitive file name sorting in non en_US.utf8 locale)</para>
                         </listitem>
                         <listitem>
+                            <para>Fixed problem #579633 (accessing administrator privileges with gksudo)</para>
+                        </listitem>
+                        <listitem>
                             <para>Fixed problem with setting equal pane size in horizontal mode</para>
                         </listitem>
                         <listitem>
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index b9e971c..50e794b 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1132,9 +1132,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]