freebsd-ports/sysutils/policykit-gnome/files/patch-polkit-gnome_polkit-gnome-action.c
Joe Marcus Clarke b221f2d9a7 Commit a patch from Ubuntu to fix a bug which can occur when trying to
modify policies as a non-root user.  PK worked fine for me without this,
but apparently some users require this.

PR:		136328
Submitted by:	Gustau Pérez <gustau.perez@gmail.com>
2009-07-04 19:36:10 +00:00

13 lines
508 B
C

--- polkit-gnome/polkit-gnome-action.c.old 2009-06-28 12:54:35.000000000 +0200
+++ polkit-gnome/polkit-gnome-action.c 2009-06-28 12:55:07.000000000 +0200
@@ -2062,6 +2062,8 @@
case POLKIT_RESULT_ONLY_VIA_SELF_AUTH_KEEP_ALWAYS:
/* g_debug ("blocking clicked"); */
g_signal_stop_emission_by_name (button, "clicked");
+ if (action->priv->polkit_action != NULL)
+ g_signal_emit (action, signals [AUTH_START_SIGNAL], 0);
break;
default: