[gnome-commander/gcmd-1-3] root mode: use beesu if available
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-3] root mode: use beesu if available
- Date: Mon, 15 Mar 2010 18:43:07 +0000 (UTC)
commit a3cc037631eaf7bd37e5a06ecbfd44598a5921fb
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Mon Mar 15 19:33:15 2010 +0100
root mode: use beesu if available
src/gnome-cmd-user-actions.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 8a85e10..021a68d 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1201,10 +1201,12 @@ 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)
{
- gnome_cmd_show_message (*main_win, _("gksu or kdesu is not found."));
+ gnome_cmd_show_message (*main_win, _("gksu, kdesu or beesu is not found."));
return ;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]