# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/gnomesu/password-label.patch # Copyright (C) 2007 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Although we could have internationalized the file, specifing the only other visible label comes handy as well. - Rene Rebe --- gnomesu-0.3.1/src/xsu.c.vanilla 2007-08-27 19:05:56.000000000 +0200 +++ gnomesu-0.3.1/src/xsu.c 2007-08-27 19:19:24.000000000 +0200 @@ -296,6 +296,7 @@ GtkWidget* gtk_xsu_window; gchar* arg_command; gchar* arg_username=NULL; + gchar* arg_message_password=NULL; gint x; gboolean command_in=FALSE; gboolean username_in=FALSE; @@ -407,6 +408,20 @@ message_in=TRUE; } } + + if (!strcmp (argv[x], "--message-password")) + { + if (argv[x+1] != NULL) + { + int i; + arg_message_password = g_strdup(argv[x+1]); + for (i=0;i