kov changed gksu/branches/gksu2/ChangeLog, gksu/branches/gksu2/gksu/gksu.c

Gustavo Noronha kov at costa.debian.org
Wed Apr 26 01:34:15 UTC 2006


Mensagem de log: 
removed the desktop file option; will be replaced by an
option to tell gksu a 'user-friendly' name for the
action that is being taken


-----


Modified: gksu/branches/gksu2/ChangeLog
===================================================================
--- gksu/branches/gksu2/ChangeLog	2006-04-25 02:36:48 UTC (rev 574)
+++ gksu/branches/gksu2/ChangeLog	2006-04-26 01:34:14 UTC (rev 575)
@@ -1,3 +1,10 @@
+2006-04-25  Gustavo Noronha Silva  <kov at debian.org>
+
+	* gksu/gksu.c:
+	- removed the desktop file option; will be replaced by an
+	  option to tell gksu a 'user-friendly' name for the
+	  action that is being taken
+
 2006-04-24  Gustavo Noronha Silva  <kov at debian.org>
 
 	* gksu/gksu.c:

Modified: gksu/branches/gksu2/gksu/gksu.c
===================================================================
--- gksu/branches/gksu2/gksu/gksu.c	2006-04-25 02:36:48 UTC (rev 574)
+++ gksu/branches/gksu2/gksu/gksu.c	2006-04-26 01:34:14 UTC (rev 575)
@@ -96,9 +96,6 @@
        "    default.\n"),
     N_("  --user <user>, -u <user>\n"
        "    Call <command> as the specified user.\n"),
-    N_("  --desktop <file>, -D <file>\n"
-       "    Use a .desktop file to get the name of the application\n"
-       "    from.\n"
        "\n"),
     N_("  --preserve-env, -k\n"
        "    Preserve the current environments, does not set $HOME\n"
@@ -166,7 +163,6 @@
   gchar **newargv = NULL;
 
   guint run_mode = DEFAULT_MODE;
-  gchar *desktop_file_name = NULL;
 
   int c = 0;
 
@@ -282,10 +278,6 @@
 	    }
 
 	  break;
-	case 'D':
-	  /* FIXME - reimplement */
-	  desktop_file_name = g_strdup (optarg);
-	  break;
 	}
     }
 




More information about the gksu-commits mailing list