Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 96587 | Differences between
and this patch

Collapse All | Expand All

(-)libgksu1.2-1.3.7.orig/libgksu/gksu-context.c (-1 / +8 lines)
Lines 870-876 gksu_context_run_full (GksuContext *cont Link Here
870
		{
870
		{
871
		  if (!context->password)
871
		  if (!context->password)
872
		    {
872
		    {
873
		      if (ask_pass (context, buf, user_data, error))
873
		      gchar* prompt = buf;
874
		      // Use the translated version of "Password: " string
875
		      // if possible (this string is already localized).
876
		      if (strcmp("Password: ", buf) == 0)
877
		        {
878
			  prompt = _("Password: ");
879
			}
880
		      if (ask_pass (context, prompt, user_data, error))
874
			  return -1;
881
			  return -1;
875
882
876
		      g_return_val_if_fail (context->password, -1);
883
		      g_return_val_if_fail (context->password, -1);

Return to bug 96587