diff -u policykit-gnome-0.9/debian/changelog policykit-gnome-0.9/debian/changelog --- policykit-gnome-0.9/debian/changelog +++ policykit-gnome-0.9/debian/changelog @@ -1,3 +1,11 @@ +policykit-gnome (0.9-1ubuntu2) jaunty; urgency=low + + * Pull patch from Fedora CVS to make actions work again. When blocking + "clicked" because the user is not authenticated it should emit + "auth-start" so that the user is invited to authenticate. (LP: #332343) + + -- James Westby Mon, 23 Feb 2009 17:42:43 +0000 + policykit-gnome (0.9-1ubuntu1) intrepid; urgency=low * Merge with Debian unstable. Remaining Ubuntu changes: only in patch2: unchanged: --- policykit-gnome-0.9.orig/debian/patches/05-fix-actions.patch +++ policykit-gnome-0.9/debian/patches/05-fix-actions.patch @@ -0,0 +1,17 @@ +# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/policykit-gnome/+bug/332343 +# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=572878 +# Patch: http://bugzilla.gnome.org/attachment.cgi?id=129353&action=view +# Description: When "clicked" is blocked as the user is not authorized +# it should emit "auth-start" so that the user can authenticate. Makes +# it work with widgets that don't emit "activate", e.g. buttons. +--- ./polkit-gnome/polkit-gnome-action.c.old 2009-02-06 17:31:46.000000000 +0000 ++++ ./polkit-gnome/polkit-gnome-action.c 2009-02-06 17:32:03.000000000 +0000 +@@ -2062,6 +2062,8 @@ _button_clicked (GtkButton *button, PolK + 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: